Upload question
Posted: Fri Jul 09, 2010 2:19 pm
Hi all,
I've inherited a project and I need to write a simple upload image script but this front end code is confusing me.
Not sure how to refer to it where I would normally use [fileField] or similar - nothing seems to work. Not sure
if it was put together by a programmer or designer !
Any advice much appreciated.
Best wishes
Monty
I've inherited a project and I need to write a simple upload image script but this front end code is confusing me.
Not sure how to refer to it where I would normally use [fileField] or similar - nothing seems to work. Not sure
if it was put together by a programmer or designer !
Code: Select all
<div class="listing-form-cont">
<div class="applynow listing-form">
</div><!--end listing-form-cont-->
<div class="listing-form-cont">
<div class="applynow listing-area">
<ul class="listing-image">
<li><label>Image</label></li>
<li class="li-col2">
<div class="listing-file">
<input type="file" onchange="document.getElementById('fileInputText').value = this.value;" size="25" id="fileInput">
<div id="listing-file-mask">
<input type="text" id="fileInputText">
</div>
</div>
</li>
<li class="li-col3"><a href="#"><img src="images/remove.gif" alt="remove"></a></li>
<li class="li-col4">Upload less then 10mb</li>
</ul>
</div><!--end applynow-->
</div>
Any advice much appreciated.
Best wishes
Monty