found out the reason for the error. i am using include page for my
files and i called a script twice in both pages.
removing one of it made everything work as intended.

i would definitely remove the button inside a link thing.. yea..i
agree..it is silly. hah!

On Nov 6, 4:40 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> What is ajaxify.js? Maybe in that file there is some hidden character
> IE wouldn't handle (I did that with tabs a few times myself). Also I
> doubt that a button inside a link makes much sense. If you want it to
> look like a button, style it like a button.
>
> --Klaus
>
> On 6 Nov., 09:05, spesbar <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi again...
>
> > I used the ajaxify method. works fine in firefox but in IE, it keeps
> > giving me js error "Invalid character".
> > The page is loaded but the js error is prompted everytime the page is
> > displayed.
>
> > What I did is this : (referring to my previous eg)
>
> > For example:
> > a.jsp is a listing page and in the file I have a link that will call
> > edit.jsp.
> > in a.jsp i added :
>
> > <script type="text/javascript" src="ajaxify.js"></script>
> > <script type="text/javascript">
> > $(document).ready(function() {
> > $('.ajaxify').ajaxify();   });
> > </script>
>
> > and called edit.jsp by using
>
> > <a href="edit.jsp" class="ajaxify" target="#bio"><input type="button"
> > value="EDIT" class="Button"></a>
>
> > Is this the correct way? Like I said, the page is displayed as
> > intended. The only setback is the js error in IE.
>
> > Thank you in advance.
>
> > On Nov 5, 9:37 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
> > > I think you need 
> > > this:http://docs.jquery.com/UI/Tabs#...open_links_in_the_current_tab_inste...
>
> > > If you need to submit a form and render the response into the div you
> > > should use the form plugin toajaxifyit.
>
> > > --Klaus
>
> > > On 5 Nov., 11:13, spesbar <[EMAIL PROTECTED]> wrote:
>
> > > > 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>
> > > > ***************************************************************************­­*************************-
> > > >  Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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