Richard Korts
asked on
Javascript alert not functioning.
See attached HTML. Note on line 25, iuser="y". Note on the body tag, the onLoad event. Note the Javascript function chk_is_user() (on line 42). Note test on line 54.
The alert does not appear. This code used to work, I have others similar, they don't work now either. using Chrome browser.
What causes this?
Thank you
ASKER
Applied code, I believe you meant chk_is_user as the function, not chk_vals.
Does not work, see attached code.
index_new.html
Does the function name need the () at the end?
Does not work, see attached code.
index_new.html
Does the function name need the () at the end?
maybe you had too much popup and your web browser proposed you to deactivate them
ASKER
That is not an answer. It needs to work in all browsers.
Somebody else?
Somebody else?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect Julian.
I guess you found that in Chrome debugger, don't know why I didn't think of that.
Richard
I guess you found that in Chrome debugger, don't know why I didn't think of that.
Richard
https://www.google.com/search?q=recommanded+inline+javascript
Open in new window
and remove the inline oneOpen in new window