Results 1 to 2 of 2
-
6th Jan 2010, 10:06 PM #1OPMember
Javascript help needed
Hello everyone, been a while since I posted a thread around here...
I need some help with javascript function getElementsByName, lets say I have a button named iButton, when I try to do:
getElementsByName(iButton).click;
I get the error getElementsByName is not defined
What am I doing wrong here?
Is there any other way to click a button that only has "name" tag for identification?Storm Reviewed by Storm on . Javascript help needed Hello everyone, been a while since I posted a thread around here... I need some help with javascript function getElementsByName, lets say I have a button named iButton, when I try to do: getElementsByName(iButton).click; I get the error getElementsByName is not defined :S What am I doing wrong here? :S Is there any other way to click a button that only has "name" tag for identification? Rating: 5
-
6th Jan 2010, 10:45 PM #2OPMember
Fixed it, it returned an array so i had to select an element from it, in this case element 0.
mods lock this
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
JavaScript help
By Keosoft90 in forum Web Development AreaReplies: 4Last Post: 4th Sep 2012, 04:23 PM -
[WordPress] How to do this in javascript/php?
By thizzladen in forum Web Application/Script SupportReplies: 0Last Post: 16th Mar 2012, 12:05 AM -
JavaScript easy help needed
By pi0tr3k in forum Web Development AreaReplies: 10Last Post: 4th Mar 2012, 12:02 PM -
[Hiring] jquery javascript popup needed
By tractor3231 in forum Completed TransactionsReplies: 0Last Post: 8th Aug 2011, 03:51 PM -
JavaScript Kit
By Daniel in forum Useful SitesReplies: 0Last Post: 7th Mar 2011, 06:48 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...