Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
how to call javascript function of another jsp from one jsp
Rohit Kumar
Ranch Hand
Posts: 53
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am new to
JSP
.
I want to know, how to call javascript function which is present in say "one.jsp", from another jsp's (say "two.jsp") javascript function.
thanks in advance.
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Firstly, this has nothing to do with JSP, so it's been moved to a more appropriate forum.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Secondly, the question is impossible to answer without knowing the relationship between the pages.
Thirdly, that would be a very poor practice. Move the script off-page into a .js file and load it into the pages where it is needed.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
jsp and javascript
Need help on calling javascript without any handler from JSP..
calling a servlet from javascript function??
Calling JSP method from within a javascript function?
How can i call jsp from javascript
More...