Forum: JavaScript / DHTML / AJAX Aug 15th, 2008 |
| Replies: 14 Views: 2,764 On the global/local declaration issue, one of the things going on is that Firefox's JS interpreter correctly handles variable scope (the variable only exists inside of the scope where it's declared)... |
Forum: JavaScript / DHTML / AJAX Aug 14th, 2008 |
| Replies: 14 Views: 2,764 If you can't tell by matching the reported line number with your code, then insert alert()s for debugging. For instance, if you put one before and one after the send() call, and the first alert()... |
Forum: JavaScript / DHTML / AJAX Aug 14th, 2008 |
| Replies: 14 Views: 2,764 As always: how does it fail? What happens, how does that differ from your expectations, what debugging information do you get? (Tip: go to Tools > Internet Options, Advanced tab, and make sure... |
Forum: JavaScript / DHTML / AJAX Aug 4th, 2008 |
| Replies: 5 Views: 951 The pattern I posted will only return true for a dot if it has one or more numeric digits after it. Make sure you're actually trying what I posted. |
Forum: JavaScript / DHTML / AJAX Aug 1st, 2008 |
| Replies: 5 Views: 951 Try if(!form1.paid.value.match(/^(\d+|\d*\.(\d+))$/)). |
Forum: JavaScript / DHTML / AJAX Aug 1st, 2008 |
| Replies: 1 Views: 498 Try using the CSS cursor property on the image button to control the cursor's appearance. |
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008 |
| Replies: 3 Views: 532 No, that doesn't really tell me anything useful.
What I'm saying in my post is that you need to wrap the target URL you're changing the image's source to in single quotes. You're constructing an... |
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008 |
| Replies: 0 Views: 607 If you have any interest in Web form usability, you may find my Web form autofocus JavaScript (http://lostsouls.org/grimoire_form_autofocus) snippet useful. The idea is simple: if a user is... |
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008 |
| Replies: 7 Views: 5,239 I can say with great conviction that this is the wrong forum. Whatever you wind up doing about your crawler, I sincerely doubt that you will do it in JavaScript. (I also hope and pray that this is... |
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008 |
| Replies: 3 Views: 532 Try this: eval('document.' +Imgname+'.src = \''+sImage+'\'');
You are probably in dire need of debugging feedback; lots of people seem to think they have to write JavaScript using solely their... |
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008 |
| Replies: 2 Views: 1,831 Change the onSubmit version to just onSubmit="return chkrange(this)". Inside the form tag, this already refers to the form. |