Follow us on Twitter!
Things are more like they are now than they have ever been before. - Dwight D. Eisenhower
Tuesday, August 04, 2015
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 26
Guests Online: 18
TeamSpeak Online : 5 Members Online: 8

Registered Members: 89463
Newest Member: soaking13
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

Just a quick JS question

Mouzi
Member



Posts: 144
Location: Finland
Joined: 08.08.06
Rank:
Newbie
Posted on 01-01-08 14:50
Let's say I have a JavaScript variable called someInput that refers to an input object, and that the input object is inside a form that has "page.php" as action attribute.

Now, is there a way to get the action attribute of the form that the input object is in? I could use someInput.parentNode.action, but it is not guaranteed that the parentNode is the form :S


EDIT:
Found the answer with google (didn't find anything when I first tried).
Apparently you can use someInput.form.action


izuom.net/sig.gif
Steganographs

Edited by Mouzi on 01-01-08 15:10
You would try to hack it anyways.
Author

RE: Just a quick JS question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 01-01-08 19:24
i like ur sig ftw!