Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

JavaScript | Forum profile

Forum profile page for JavaScript on http://www.sitepointforums.com. This report page is the aggregated overview from a single forum: JavaScript, located on the Message Board at http://www.sitepointforums.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "JavaScript" on the Message Board at http://www.sitepointforums.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: SitePoint : New Articles, Fresh Thinking for Web Developers and Designers - JavaScript (site profile, domain info sitepointforums.com)
Title: JavaScript
Url: http://www.sitepoint.com/forums/forumdisplay.ph...
Users activity: 25 posts per thread
Forum activity: 167 active threads during last week
 

Posting activity on JavaScript:

  Week Month 3 Months
Threads: 167 571 1,560
Post: 384 1,494 3,934
 

JavaScript Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
pmw57
37
user's latest post:
Problem with showing my children...
Published (2009-11-27 16:44:00)
Watch this: http://css-tricks.com/video-screencasts/76-jquery-tour/ He takes you through the best and easiest way to achieve that, along with some other uses of jQuery on the site.
semantic7
13
user's latest post:
Show a div on load then hide...
Published (2009-11-25 15:23:00)
Yes it is possible as long as the video player can send a signal to javascript indicating that the video has finished playing.
felgall
13
user's latest post:
Javascript Issue in a contact form
Published (2009-11-27 13:53:00)
Your JavaScript should be referencing the form fields by their id rather than their name. The name is used by the server side processing after the form is submitted. Each form field needs an id to attach its label in the HTML so it isn't like you are having to add to the HTML to get the JavaScript to work the easy way.
crmalibu
12
user's latest post:
Help using AJAX to pull in...
Published (2009-11-25 12:41:00)
What jquery does is they create a dummy div via document.createElement(), set it's innerHTML, and then try to run the selector on it. getElementById() is a method of the document object, not a regular dom element like your div, so you can't use that. You could use dummyDiv.getElementsByTagName(*) and then iterate through them, checking for the element with the matching id attribute. I haven't looked into it much, but I've...
Raffles
10
user's latest post:
replace a class = lightbox with...
Published (2009-11-24 12:49:00)
s.rel = 'lightbox' should work (as would s.setAttribute('rel', 'lightbox')), if s is a reference to a proper DOM Element and not some other object, like jQuery tends to deal with. awestmoreland, it seems you're assuming he's using jQuery. That code won't work without jQuery. Make sure s is a proper DOM element, or use some equivalent in whatever library you're using.
silver163
9
user's latest post:
error 404
Published (2009-11-26 20:59:00)
I am curious in regards to using Jquery for 404 error handling. Does anyone know if it is possible to whenever someone clicks a dead link or whatever instead of getting the usual 404 error they get a lightbox type of window opening just altering them of an issue?
emmim44
8
user's latest post:
moving items from one select 2...
Published (2009-11-25 08:56:00)
Hi all, i got this snippet from the web...but it does allow duplicate values when one move items from left or right select boxes.. I dont want that... any help apprecited.. Code: <!-- var NS4 = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 5); function addOption(theSel, theText, theValue) { var newOpt = new Option(theText, theValue); var selLength = theSel.length;...
dogFang
7
user's latest post:
I found a new method of...
Published (2009-11-26 02:18:00)
It's basic browser sniffing Code: Browser = { ie : /*@cc_on true || @*/ false, ie6 : Browser.a.indexOf('msie 6') != -1, ie7 : Browser.a.indexOf('msie 7') != -1, opera : !!window.opera, safari : Browser.a.indexOf('safari') != -1, safari3 : Browser.a.indexOf('applewebkit/5') != -1, mac : Browser.a.indexOf('mac') != -1 }
svibuk
6
user's latest post:
creating a function for button...
Published (2009-11-20 06:04:00)
any help in the sam ewuld be very helpful as i am not able to set the keypress event for other controls
iwojiwoj
6
user's latest post:
AJAX inconsistencies
Published (2009-11-20 21:35:00)
See these image attachments.
 

Latest active threads on JavaScript::

SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 1 week, 6 days ago (2009-11-15 09:23:00)  by evilunix
I would do it the other way round, and make scripts.length the default. Put your code in a function which accepts a length parameter. If this parameter isn't passed, scripts.length is the default JavaScript Code: var scripts = new Array ( ) ; scripts [ 0 ] = "<b> Date: 22 Oct </b> <br />details" ; scripts [ 1 ] = "<b> Date: 24 Oct </b> <br />details" ; ...
Thread:  Show this thread (3 posts)   Thread info: Javascript - calling different functions? Size: 5,381 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Javascript - calling different functions? :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 2 days, 23 hours ago (2009-11-26 04:18:00)  by pmw57
Something like the following should do the trick. Just change 'formId' to the form identifier. javascript Code: var form = 'formId' ; form. elements . dropdownName . onchange = function ( ) { var option = this . options [ this . selectedIndex ] ; var checkbox = this . form . elements . checkboxName ; if ( option. value . toLowerCase . ...
Thread:  Show this thread (17 posts)   Thread info: dropdown menu hides or shows content based on selection Size: 3,077 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: dropdown menu hides or shows content based on selection :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 16 hours, 55 minutes ago (2009-11-28 10:37:00)  by LarsK
The easiest way to do this is just simple JavaScript. Check with isNan() if it is a number and then check the range (income > 0 && income < 1000000) - that's it... And don't forget to check on the server side as well.
Thread:  Show this thread (2 posts)   Thread info: Regular expressions validation Size: 248 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Regular expressions validation :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 2 days, 19 hours ago (2009-11-26 07:39:00)  by siteguru
I've never used JQuery, but I suspect the issue is that you are not checking the CHECKED status of the checkboxes - you are just adding the numbers regardless.
Thread:  Show this thread (5 posts)   Thread info: Get table cell values when checkbox is check Size: 257 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Get table cell values when checkbox is check :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 1 day, 14 hours ago (2009-11-27 12:35:00)  by TommiChi
You would use "paresInt", to return only a whole number from your argument "float", such as: document.inputForm.result.value= parseInt(argument);
Thread:  Show this thread (8 posts)   Thread info: How can you cut out unneeded digits please ? Size: 172 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: How can you cut out unneeded digits please ? :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 1 day, 10 hours ago (2009-11-27 16:42:00)  by pmw57
Use the fragment identifier, the part of the url string after the # sign You access it using location.hash
Thread:  Show this thread (5 posts)   Thread info: Back button detect with same page in history Size: 121 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Back button detect with same page in history :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 21 hours, 33 minutes ago (2009-11-28 05:59:00)  by Raffles
For a start, you have a spelling mistake in the HTML bit ("fistname"). Also your JavaScript will not work because you will get an error: "firstname is not defined". That's because "firstname" doesn't refer to anything. What you want is something more like this: HTML Code: <form action= "" onsubmit= "return firstnameCheck(this)" > javascript Code: function ...
Thread:  Show this thread (2 posts)   Thread info: RegEx form verification Size: 3,841 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: RegEx form verification :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
SitePoint : New Articles, Fresh Thinking for Web Developers and Designers
Started 4 days, 13 hours ago (2009-11-24 14:31:00)  by crmalibu
if you want to trim the last two characters from a string Code: newString = oldString.substr(0, oldString.length - 2);
Thread:  Show this thread (3 posts)   Thread info: JS Predictive text Size: 433 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: JS Predictive text :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
 

Hot threads for last week on JavaScript::

JavaScript
Started 2 days, 23 hours ago (2009-11-26 04:18:00)  by pmw57
Something like the following should do the trick. Just change 'formId' to the form identifier. javascript Code: var form = 'formId' ; form. elements . dropdownName . onchange = function ( ) { var option = this . options [ this . selectedIndex ] ; var checkbox = this . form . elements . checkboxName ; if ( option. value . toLowerCase . ...
Thread:  Show this thread (17 posts)   Thread info: dropdown menu hides or shows content based on selection Size: 3,077 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: dropdown menu hides or shows content based on selection :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 2 weeks, 2 days ago (2009-11-12 12:23:00)  by SpacePhoenix
Quote: Originally Posted by crmalibu On slower computers/internet connections, I've noticed extreme improvement in "speed" when disabling JavaScript. Some websites get a bit too carried away with number/size of external scripts, and what types of things those scripts do. It must be a bit of a trade off if whatever ...
Thread:  Show this thread (43 posts)   Thread info: Besides malicious intent, other reasons to disable javascript? Size: 1,020 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Besides malicious intent, other reasons to disable javascript? :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 5 days, 12 hours ago (2009-11-23 14:51:00)  by BPartch
HTML4Strict Code: <script src = "jquery.js" type = "text/javascript" > </script> is looking for the .js file in the same folder/directory as the .html file calling it. Is this where you have the .js file?
Thread:  Show this thread (10 posts)   Thread info: Jquery getting started help Size: 999 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Jquery getting started help :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 3 days, 23 hours ago (2009-11-25 04:17:00)  by dogFang
Much depends on how your script interacts with the document. Once an element has loaded you can reference it, you don't necessarily have to wait until the full document has loaded. How fast your page loads ( faster interaction ) is dependent on many factors .
Thread:  Show this thread (10 posts)   Thread info: Script at the End of Body Size: 453 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Script at the End of Body :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 1 week, 1 day ago (2009-11-20 11:19:00)  by Mirek Komárek
Has your application some user agent? if(eregi("application_user_agent",$HTTP_USER_AGE NT)){ echo "javascript contens"; } } else { echo "nothing"; }
Thread:  Show this thread (9 posts)   Thread info: Javascript file permissions Size: 234 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Javascript file permissions :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 1 week ago (2009-11-21 04:38:00)  by Raffles
What exactly do you mean by "movement"? Moving the mouse? It is possible to interact with a webpage without moving the mouse, so you need to be more specific.
Thread:  Show this thread (9 posts)   Thread info: Refresh Pg if no movement Size: 168 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Refresh Pg if no movement :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 4 days, 5 hours ago (2009-11-24 22:14:00)  by imaginethis
Quote: Originally Posted by fattyjules I've been neglecting javascript for years, doing messy cut-and-paste jobs when I've needed some javascript. Now I'm making the effort to learn it properly. Should I jump straight in with a framework, or get the basic language down first? If you don't know the basics ...
Thread:  Show this thread (9 posts)   Thread info: Which should I learn first? Vanilla javascript or a framework? Size: 1,070 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Which should I learn first? Vanilla javascript or a framework? :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 6 days, 21 hours ago (2009-11-22 06:05:00)  by pmw57
The radio buttons will need to trigger the appropriate actions. The past radio button has no id, so another technique will currently be used to target it. Be sure to place these scripts just before the </body> tag. javascript Code: var form = document. getElementById [ 'advertise' ] , past = form. elements . past [ 0 ] , present = form. elements . past [ 0 ]...
Thread:  Show this thread (8 posts)   Thread info: How to make a label and texbox vanish Size: 5,226 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: How to make a label and texbox vanish :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
RE: form - 8 new posts
Started 6 days, 4 hours ago (2009-11-22 23:10:00)  by semantic7
What do you mean by isn't working ?
Thread:  Show this thread (8 posts)   Thread info: form Size: 35 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: form :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."
JavaScript
Started 1 day, 14 hours ago (2009-11-27 12:35:00)  by TommiChi
You would use "paresInt", to return only a whole number from your argument "float", such as: document.inputForm.result.value= parseInt(argument);
Thread:  Show this thread (8 posts)   Thread info: How can you cut out unneeded digits please ? Size: 172 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: How can you cut out unneeded digits please ? :: JavaScript :: SitePoint : New Articles, Fresh Thinking for Web D..."

This page was found by:   onclick prettyPhoto