Forum: JavaScript / DHTML / AJAX Nov 29th, 2004 |
| Replies: 5 Views: 13,267 you can not.
this code is going to accept an image file which has not been posted to the server yet, nor is it running inside of the DOM.
If you had the image in your page <img src="blah.gif"... |
Forum: JavaScript / DHTML / AJAX Nov 27th, 2004 |
| Replies: 5 Views: 13,267 Post the code of your image.
www.js-x.com
www.js-x.com/forum/ |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2004 |
| Replies: 5 Views: 13,267 if:
<img src="abc.gif" name=myimg>
then:
* document.myimg.width
* document.myimg.src
same syntax for:
border, complete, height, vspace, lowsrc, name, src, vspace, width |
Forum: HTML and CSS Nov 24th, 2004 |
| Replies: 1 Views: 20,366 if there is not an item in the record, then length is not defined.
try:
var _len=document.form.item.length?document.form.item.length:0;
Then if it is 0 you know its not an array.
1000s of... |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2004 |
| Replies: 2 Views: 27,102 You could try escaping the "\" in the pair "\n" to be "\\n".
This might delay the evaluation of the newline until you want it evaluted.
I know there is a tool-tip DHTML popup box example on... |
Forum: HTML and CSS Nov 24th, 2004 |
| Replies: 1 Views: 5,605 have you re-installed your web browser? [upgrade to the latest version].
second I would try to install a different web browser.
1000s of Free Javascripts (http://js-x.com/) |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2004 |
| Replies: 1 Views: 8,363 You will need a server side programming language to accept the form posted data.
PHP is great for this purpose and has built in routines to connect to many different databases.
if you POST the... |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2004 |
| Replies: 4 Views: 4,824 The best Javascript book i've found is:
Pure Javascript: A Code-Intensive Premium Reference [SAMS]
by R.Allen Wyke, Jason D. Giliam, and Charlton Ting
1000s of Free Javascripts (http://js-x.com/) |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2004 |
| Replies: 2 Views: 5,117 1000s of Free Javascripts (http://js-world.com/)
<html>
<head>
<script type="text/javascript">
function checkLength(_str,_len)
{
var _slen=_str.toString().length;
if(!_slen || _len=="")... |