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 programming | Forum profile

Forum profile page for JavaScript programming on http://www.codingforums.com. This report page is the aggregated overview from a single forum: JavaScript programming, located on the Message Board at http://www.codingforums.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 programming" on the Message Board at http://www.codingforums.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: CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more! - JavaScript programming (site profile, domain info codingforums.com)
Title: JavaScript programming
Url: http://www.codingforums.com/forumdisplay.php?s=...
Users activity: 29 posts per thread
Forum activity: 222 active threads during last week
 

Posting activity on JavaScript programming:

  Week Month 3 Months
Threads: 222 741 2,170
Post: 609 2,104 6,325
 

JavaScript programming Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Old Pedant
85
user's latest post:
Javascript does not recognize...
Published (2009-12-01 09:01:00)
I think you need to show the code for the object the user clicks on in order to show one div. And, yes, you really should make the default display for all of them be display: none; so that they don't all try to display on top of one another as the page is loading. You know, if all the divs are supposed to be the same size in the same place, you could do: Code: <style> div.overlay { position:absolute; left:200px; top:830px;...
Philip M
61
user's latest post:
Help bouncing ball user input...
Published (2009-12-02 14:48:00)
Quote: Originally Posted by soulcode Ball stays inside now... But everytime we hit the send button from form the speed of ball is increased, even with the same value "10". That is because you repeatedly trigger setInterval("myFunction()", int); starting another cycle. Clear the setInterval before you trigger another one. Declare a variable tim and then: window.clearTimeout(tim); tim =...
Kor
29
user's latest post:
faster createElement()...
Published (2009-12-02 21:28:00)
Quote: Originally Posted by DTD13 My method assumes that I can create any element with any property that I want. I doubt. Try creating a cell with a colspan attribute and append it to a table. Furthermore, give it an id and try to change it afterward (in IE). Or, try to create an INPUT element and try to give it a name attribute. Try to submit data from that INPUT (in IE). You will encounter a surprise. IE is not able to create the name...
Jamie2993
19
user's latest post:
object in JS?
Published (2009-11-27 22:44:00)
Hi All, (Another Post LOL) Ive been getting alot of help with js recently THANKS! One last thing and i shouldnt be on here for a while How would i go about doing this Code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="750" height="550" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"> <param...
jmrker
19
user's latest post:
Multiple star rating on one page
Published (2009-11-30 17:38:00)
Quote: Originally Posted by earthone So if Ive been a bother. Thanks again guys. Not a bother, just don't have enough information to help. Can you ... 1. Post a link to your site or test site so that we have access to the star.gif images you are using? 2. Tell us which of the 3 different scripts (posting #1, #2, or #6) you are currently having the problem with? 3. If post #2 is not working for you, what is the problem as it is working on...
tomws
15
user's latest post:
One javaScript stops another...
Published (2009-11-30 15:18:00)
Firebug reports that you have an error in one of them. Invalid array length. One error will kill them all. The quick fix is to remove the last addition and then you can dig into what's wrong with it.
jwsmith89
13
user's latest post:
Cant do Easy javascript program
Published (2009-11-30 05:36:00)
I know I need parentheses around the condition of the if statement, but I'm getting burnt out. I'm considering deleting this part. Would you recommend the following replacement or a variation thereof: Code: form.points.value = ( input >= 0 && input <= 100 ) ? Number( input ) : "Invalid input.";
tike0rz
12
user's latest post:
Passing a value to a linked...
Published (2009-11-28 17:28:00)
Quote: Originally Posted by Old Pedant Ehhh...my fault, I guess. I missed this in your first post of this thread: Code: <form action='display .php ' ... I assume that means you have realized that with PHP you have to use [] at the end of your form field names, as in Code: <input type="checkbox" name=" schools [] " value="1"...
rnd me
12
user's latest post:
faster createElement()...
Published (2009-12-02 20:37:00)
Quote: Originally Posted by DTD13 no it didn't...and I have to change so many of the existing property types that it is about the same, maybe a little slower. It's (create with properties) VS. (clone and change properties). Some properties wont be there at all on the cloned elements, some will be different. The extra to remove unwanted cloned properties is killing its speed. build a cached cloner, or clone the closest existing match...
vwphillips
10
user's latest post:
Multiple star rating on one page
Published (2009-12-01 12:41:00)
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta...
 

Latest active threads on JavaScript programming::

CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 9 hours, 28 minutes ago (2009-12-04 16:05:00)  by mattyod
I'm surprised it works in any browser. Your jQuery references the id "#count" but your html has a div with the id "countopening". Once you correct the id you'll probably find that IE only loads that once though. Tends to cache ajax requests rather stupidly, so often a work around is to add a random number or new date as a query string to the url request.
Thread:  Show this thread (3 posts)   Thread info: Content not updating in IE Size: 410 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Content not updating in IE :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 1 day, 11 hours ago (2009-12-03 14:16:00)  by Kor
Code: alert(arrays [foo] );
Thread:  Show this thread (4 posts)   Thread info: Referencing object array dynamically Size: 348 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Referencing object array dynamically :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 8 hours, 29 minutes ago (2009-12-04 17:04:00)  by Philip M
What you require can only be done with server-side coding, not JavaScript. It is your responsibility to die() if necessary….. - PHP Manual
Thread:  Show this thread (3 posts)   Thread info: Website Games Size: 214 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Website Games :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 9 hours, 50 minutes ago (2009-12-04 15:43:00)  by jmrker
Quote: Originally Posted by treeleaf20 All, I have the following code which validates a form has at least one checkbox checked before it submits it. However I want to make sure that there aren't more then 25 checked on the page. How can I do this? Code: function validate(field) { for (var i = 0; i < field.length; i++){...
Thread:  Show this thread (2 posts)   Thread info: Only allow 25 checkboxes Size: 2,342 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Only allow 25 checkboxes :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 10 hours, 22 minutes ago (2009-12-04 15:11:00)  by gusblake
You only ever get one responseText per AJAX call, but you could modify the server side script to provide you with a set of variables joined by a certain character ('/' for example). Then perform ajax.responseText.split("/") to convert it to an array. Another option is to eval() the responseText, and have the output of the serverside script be whatever javascript you want.
Thread:  Show this thread (2 posts)   Thread info: AJAX responseText ... HELP! Size: 400 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: AJAX responseText ... HELP! :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 14 hours, 16 minutes ago (2009-12-04 11:17:00)  by Philip M
Quote: Originally Posted by gcapp I have a java applet on a site that I am building. Java and Javascript are entirely different programming languages, in spite of the confusingly similar names. If a user chooses to disable either then there is nothing you can do about it. See: http://www.javatester.org/...
Thread:  Show this thread (3 posts)   Thread info: general javascript question Size: 996 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: general javascript question :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 1 day, 7 hours ago (2009-12-03 18:07:00)  by Spudhead
View source on the page. Does the output from the PHP still look like valid Javascript?
Thread:  Show this thread (13 posts)   Thread info: How do you code a file_get_contents into a writeIn please ? Size: 87 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: How do you code a file_get_contents into a writeIn please ? :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 1 day, 2 hours ago (2009-12-03 22:49:00)  by Old Pedant
Do you really mean *individual* <tr> rows??? If so, we ought to dump that overly complex code and just use ID's in the rows. Oh...and it's clearly JavaScript. If you used PHP you'd have to go back to the server for a whole new page each time you changed anything. If you could show some of your HTML, it would be helpful.
Thread:  Show this thread (3 posts)   Thread info: Toggle control with dual function Size: 379 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Toggle control with dual function :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 15 hours, 43 minutes ago (2009-12-04 09:50:00)  by abduraooft
Code: <html> <head> <script type="text/javascript"> window.onload=function(){ var links=document.links; var div=document.getElementById('mydiv'); for(var i=0;i<links.length;i++) div.appendChild(document.createTextNode(links[i].h ref)) } </script> </head> <body> <a href="http://www.yahoo.com" target="_blank">YAHOO</a> <a href="http://www.Google.com" target="_blank">Google</a> <div id="...
Thread:  Show this thread (3 posts)   Thread info: getting href info dynamically Size: 851 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: getting href info dynamically :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
CodingForums.com- Web coding and development forums. Get help on
JavaScript, PHP, CSS, XML, mySQL, ASP, and more!
Started 1 day, 4 hours ago (2009-12-03 21:08:00)  by Philip M
Try this:- Code: <script type = "text/javascript"> function checkFutureDate() { var end_year = 2009; var end_month = 11; // months are 0-11 var end_day = 4; var now = new Date().getTime(); var d = new Date(); d.setFullYear(end_year, end_month, end_day); // YYYY,MM(0-11),DD var selectedDate = d.getTime(); // today or after if (selectedDate <= now) { // valid ...
Thread:  Show this thread (12 posts)   Thread info: Verify Date function Size: 1,154 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Verify Date function :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
 

Hot threads for last week on JavaScript programming::

JavaScript programming
Started 2 days, 5 hours ago (2009-12-02 20:03:00)  by rnd me
you can make one and cloneNode(true) it, but you would still need to re-bind the events. you can shorter syntax: Code: if(mOver){thisNDiv.onmouseover=mOver} could be Code: thisNDiv.onmouseover=mOver; (an empty onmouseover property won't hurt anything)
Thread:  Show this thread (24 posts)   Thread info: faster createElement() "Advanced" Size: 858 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: faster createElement() "Advanced" :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
RE: Consider this ... - 16 new posts
Started 4 days, 19 hours ago (2009-11-30 05:55:00)  by jmrker
Not quite your code, but it might get you started toward more success. I did not have your star images, so I added the 'alt=xxx' code for testing. Reduce scoring from 10 to 5 for your script. Code: <html> <head> <title>Star Ratings</title> <script type="text/javascript"> // Modified From: http://www.sitepoint.com/forums/showthread.php?p=2 992226 // Written For: http://...
Thread:  Show this thread (16 posts)   Thread info: Multiple star rating on one page Size: 2,961 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Consider this ... :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
Started 1 week ago (2009-11-27 15:44:00)  by VIPStephan
Do you know why you are using the this keyword? I’d suggest you read http://quirksmode.org/js/this.html And please don’t write <a href="javascript :…"> , that’s a terrible practice. You should always use unobtrusive JavaScript but even if you write inline JS then use the onclick event: <a onclick="revealModal('modalPage'); game();"> (and you can use whatever element you want, it ...
Thread:  Show this thread (15 posts)   Thread info: this.document.getElementById('modalone').innerHTML? Size: 985 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: this.document.getElementById('modalone').innerHTML? :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
Started 1 week ago (2009-11-27 19:06:00)  by TinyScript
Code: <html> <body> <script language="JavaScript"> <!-- var List = new Array(); List[0] = ["-","d","l","",""]; List[1] = ["-","r",""]; List[2] = ["-","w",""]; List[3] = ["-","x","s","S",""]; List[4] = ["-","r",""]; List[5] = ["-","w",""]; List[6] = ["-","x","s","S",""]; List[7] = ["-","r",""]; List[8] = ["-","w",""]; List[9] = ["-","x","t","T",""]; function recursion(resultat, pos_i, ...
Thread:  Show this thread (15 posts)   Thread info: Simple recursive function Size: 1,677 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Simple recursive function :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
Started 1 day, 7 hours ago (2009-12-03 18:07:00)  by Spudhead
View source on the page. Does the output from the PHP still look like valid Javascript?
Thread:  Show this thread (13 posts)   Thread info: How do you code a file_get_contents into a writeIn please ? Size: 87 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: How do you code a file_get_contents into a writeIn please ? :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
Started 1 week, 2 days ago (2009-11-26 01:17:00)  by jmrker
The following is a 'drop down' solution, but it should give you the idea to translate to radio buttons if truly desired. See: http://javascript.internet.com/forms...down-list.h tml Otherwise, post the code you are trying so we don't have to start from scratch.
Thread:  Show this thread (12 posts)   Thread info: HTML Checkbox adds/subtracts items in menu Size: 382 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: HTML Checkbox adds/subtracts items in menu :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
RE: Select and Focus - 12 new posts
Started 1 week ago (2009-11-27 19:52:00)  by Philip M
I take it that you are using Firefox, which has a bug. To overcome it it is necessary to introduce a small delay:- Code: myfield = document.myform.myname; // note myfield must be a global variable setTimeout('myfield.focus();myfield.sele ct();' , 10); return false; } Note that in Internet Explorer, names and IDs are global variables and thus you should NEVER use a global ...
Thread:  Show this thread (12 posts)   Thread info: Select and Focus Size: 1,565 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Select and Focus :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
Started 1 day, 4 hours ago (2009-12-03 21:08:00)  by Philip M
Try this:- Code: <script type = "text/javascript"> function checkFutureDate() { var end_year = 2009; var end_month = 11; // months are 0-11 var end_day = 4; var now = new Date().getTime(); var d = new Date(); d.setFullYear(end_year, end_month, end_day); // YYYY,MM(0-11),DD var selectedDate = d.getTime(); // today or after if (selectedDate <= now) { // valid ...
Thread:  Show this thread (12 posts)   Thread info: Verify Date function Size: 1,154 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Verify Date function :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
Started 1 week, 2 days ago (2009-11-25 22:01:00)  by Old Pedant
Ummm...why do you use/need a <fieldset> when you only have one fieldset in the <form>??? Or was this just for demo purposes??? I've never tried it, but I can't see why you can't use getElemensByTagName() on the fieldset. That is: Code: var fs = document.getElementById("Person1"); var inps = fs.document.getElementsByTagName("INPUT"); ... You existing code looks bogus, to...
Thread:  Show this thread (11 posts)   Thread info: Retrieve all elements of  tag. Size: 1,382 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Retrieve all elements of   tag. :: JavaScript programming :: CodingForums.com- Web coding and development forum..."
JavaScript programming
Started 4 days, 21 hours ago (2009-11-30 04:32:00)  by tomws
Check your class notes for the correct usage of for loops. Code: for (var i =1; i = 12; i++)
Thread:  Show this thread (11 posts)   Thread info: 12 Days of Christmas Javascript Size: 394 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: 12 Days of Christmas Javascript :: JavaScript programming :: CodingForums.com- Web coding and development forum..."