Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-24-2009, 03:16 AM   PM User | #1
josephtan2k
New to the CF scene

 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
josephtan2k is an unknown quantity at this point
Change page property of <jsp:include> onchange

Hi..

I have this problem..
I have jsp page which contains a select tag and a div..
<div id="detailsBody">
<jsp:include page="investigation-types/vehicular-accident.jsp">
</jsp:include>
</div>

when the select onchange event happens what I wish to do is change the page property of the <jsp:include> to another jsp page without reloading the whole page..just the div..the jsp pages that would replace also contains javascript (in script tags)..which needs to be executed after changing the page property..

using innerHTML does not work..I dont know if its possible in javascript though, if not how should I go about this?

How about AJAX?Is there a solution using this technology?

Have been searching around the net but still havent found a solution..
Any help would be greatly appreciated..
I hope someone can shed light on this problem..

Thanks in advance..
josephtan2k is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:55 PM.


Advertisement
Log in to turn off these ads.