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
Call javascript before tld
Frank Jacobsen
Ranch Hand
Posts: 378
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is a custom tag, that gives me a print buttom, but i want to activate a javascript, when they push the buttom, is this possible ???
<td class="clsNaviCell" ><portlet :-P rint cssClass="clsLinkNormalA" >Print</portlet :-P rint></td>
Frank
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think you've got to refer to the
doc
of the tag to find this out.
[My Blog]
All roads lead to JavaRanch
Frank Jacobsen
Ranch Hand
Posts: 378
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Okay, i thougt i maybe was possible to activate some javascript before activaten the TLD....
Thanks
Frank
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Custom tags are evaluated on the server long before the page gets sent to the browser where any JavaScript will have a chance to execute.
You might benefit from reading
this article
.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Can you read this?
Rounding off $$ amounts
Javascript - make elements visible and hidden
javascript error: object expected
Insert Tables(Urgent)
More...