Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: chaosprime ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Aug 15th, 2008
Replies: 14
Views: 2,764
Posted By chaosprime
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
Posted By chaosprime
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
Posted By chaosprime
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
Posted By chaosprime
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
Posted By chaosprime
Try if(!form1.paid.value.match(/^(\d+|\d*\.(\d+))$/)).
Forum: JavaScript / DHTML / AJAX Aug 1st, 2008
Replies: 1
Views: 498
Posted By chaosprime
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
Posted By chaosprime
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
Posted By chaosprime
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
Posted By chaosprime
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
Posted By chaosprime
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
Posted By chaosprime
Change the onSubmit version to just onSubmit="return chkrange(this)". Inside the form tag, this already refers to the form.
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC