Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags

7 Posted Topics

Member Avatar for mairtinomarta

Is the form below a valid method of changing the id of an XHTML element, specifically the one actually being referenced? It does not seem to work for me. [CODE]document.getElementById("Original_Name").setAttribute("id", "New_name");[/CODE]

Member Avatar for mairtinomarta
0
158
Member Avatar for xxmp

It is difficult to understand the grammar. There are mouse events you can use, such as: 1. mousedown, user depresses the mouse button 2. mouseup, user releases the mouse button 3. click, one mousedown and one mouseup You can do some js on these events.

Member Avatar for mairtinomarta
0
66
Member Avatar for sumangala

"^[8,9]{1}[0-9]{9}$" That should work, according to [URL="http://www.gskinner.com/RegExr/"]http://www.gskinner.com/RegExr/[/URL] it does.

Member Avatar for samaru
0
82
Member Avatar for mairtinomarta

Does anyone know why these event codes run twice? E.g. I am using a cookie to keep track of [Ctrl] + [Shift] + [F] by incrementing a variable once everytime it is used. However the code for it runs twice and thus the variable is never odd as it always …

Member Avatar for mairtinomarta
0
764
Member Avatar for mairtinomarta

Using the [URL="http://www.datejs.com/"]date.js[/URL] library, I created a function to get someones age when supplied a birthdate and the date at which you require the age. What do ye think? (I have checked that the second Date is after the first date in the function that calls this one). [CODE] /** …

0
82
Member Avatar for mairtinomarta

Using IE 7 (and Opera), by selecting the select field below, and using the keyboard char "M" to scroll through the options, it seems to select options in a random order. (Not alphabetically I think). Some options even get selected two times before another gets selected once. Eventually, it will …

Member Avatar for mairtinomarta
0
135
Member Avatar for mairtinomarta

Can someone explain how the following js syntax works? Is this a function? Why is the syntax like this? How does it work (accessed)? [CODE] SomeName(function() { otherFunction(); var form = document.forms.passengerInformation; toggleCreateProfileFields(); SomeName("#createUserProfileCheckbox").click(function() { toggleCreateProfileFields(); }); }); [/CODE]

Member Avatar for mairtinomarta
0
107

The End.