Join us at IRC!
You cannot teach a man anything; you can only help him find it within himself. - Galileo
Thursday, May 24, 2012
Navigation
Members Online
Total Online: 32
Web Spiders: 12
Guests Online: 27
Members Online: 5

Registered Members: 70198
Newest Member: PenTest Laboratory
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:
God
Posted on 01-01-08 14:50
Let's say I have a Javascblockedript 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



Steganographs

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

RE: Just a quick JS question

x0vghd
Member



Posts: 125
Location:
Joined: 23.12.07
Rank:
Monster
Posted on 01-01-08 19:24
i like ur sig ftw!



"Hacking is like taking candy from a baby, its fun watching them cry." ~ x0v.ghd
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.