Home › Forums › JavaScript › Multiple Onclick conflict
- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
November 30, 2010 at 1:23 pm #30852
mbarandao
MemberGood day all:
I’m wondering if the cancellation of one of my onclick js function in the below code is as a result of having multiple onclick function. here is the code:
If such is the case, how can I address this problem?
Currently, the first onclick function
onclick='return ValidateSubCategory();'
works fine. The problem is with the second
onclick="displayCalendar(document.forms[0].theDate,'yyyy/mm/dd',this)"Any assistance is greatly appreciated!
MossaNovember 30, 2010 at 1:50 pm #71690cybershot
ParticipantI don’t see any closing option tags in your script. as for the second click event, not sure
November 30, 2010 at 2:19 pm #71692mbarandao
MemberThat part of the script works fine! I have however noted your observation –thanks! I am still in need for a concrete advice on my second onclick function.
November 30, 2010 at 11:04 pm #71660mbarandao
MemberIn error! see next post
November 30, 2010 at 11:05 pm #71668mbarandao
MemberIssue resolved!
Here is my revised code. All is well!
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)- The forum ‘JavaScript’ is closed to new topics and replies.