Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
onclick event handler question
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
748
Members:
0
Total:
748
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
onclick event handler question
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Anthony
Basic Member
Posts: 12
New Poster
Congrats on posting!
2/2/2011 1:11 AM
I wanted to add a simple link to a .htm file when a user clicks on a word within the instructions section of the benbulletin_nh.htm file. I was using <a href="..." with the onclick event handler along with the window.open function. However, the page won't load, I receive the, expected ';' error. The script syntax appears correct, but I'm sure I'm missing something simple. Is there something unique with using the onclick event handler within the instructions section?<br />
Thank You
Roger French
Veteran Member
Posts: 549
New Poster
Congrats on posting!
2/2/2011 12:56 PM
Split
Try posting the piece of code here so we can look at it.
Anthony
Basic Member
Posts: 12
New Poster
Congrats on posting!
2/2/2011 9:03 PM
Split
'<a href="/lawson/xbnnet/dep_elig.htm" onclick="window.open('/lawson/xbnnet/dep_elig.htm','Dependent Eligibility','width=420, height=400');return false">'<br />
Karen Sheridan
Veteran Member
Posts: 142
New Poster
Congrats on posting!
2/2/2011 9:38 PM
Split
I've never used an onclick event when doing a href - here is how I have mine coded:
a target=_blank href="/lawson/xhrnet/dependentsmain.htm"
Had to take the <> out
Roger French
Veteran Member
Posts: 549
New Poster
Congrats on posting!
2/4/2011 7:21 PM
Split
Try putting another ';' after the word 'false'.
'<a href="/lawson/xbnnet/dep_elig.htm" onclick="window.open('/lawson/xbnnet/dep_elig.htm','Dependent Eligibility','width=420, height=400');return false;">'<br />
Also check the entire syntax of the href statement again.
Please
login
to post a reply.