Hi

I am very new to jQuery. Hope someone could help.

The code below works fine whereby the jsp pages are loaded into their
own respective divs.
However, I am having a problem when trying to click a link that
resides within the jsp page.
For example:
a.jsp is a listing page and in the file I have a link that will call
edit.jsp.
clicking on the link will display the edit.jsp page in the current
window instead of displaying it in the same DIV of the respective tab.

I called the other link by using :
<input type="button" value="edit" class="Button"
onClick="javascript:document.form.submit()">

Maybe this is not the correct way when implementing jQuery so I would
really appreciate if someone could enlighten me.

Thanks in advance. :P
*************************************************************************************************
<script>
  $(document).ready(function() {
    $("#example > ul").tabs();
    $("a").click(function(event){
    });


  });
</script>

<div id="tabDiv" class="tabClass">
<ul>
     <li><a href="a.jsp"><span>Page1</span></a></li>
     <li><a href="b.jsp"><span>Page2</span></a></li>
</ul>
</div>
****************************************************************************************************

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to