[jQuery] jQuery Tags Autocomplete

2007-03-04 Thread johnny
I have a table with tags.  Now I downloaded the autocomplete from
jQuery plugin Modified Auto-complete by Anjesh Tuladhar,
http://just-tech.blogspot.com/2006/12/jquery-tweaking-auto-complete-plugin.html.
But I don't understand how to connect these two.  First, I have
retrieved tags from the table and put them in the list.  Now how do I
pass this to autocomplete.  I am new to javaScript.

Thank you.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Is it a bug

2006-12-13 Thread Johnny

hi,guys

i get a form in table by jquery.

if the form like this:

table
 form
 tbodytbody
 /form
/table

The table does not display in firefox(i use ff2.0), but it's ok in IE.
and i can find the table of dom from DOM inspector add-on,  it does
exists!!

i try some lots of ways to find what happened. And last i find.

if html like this:
formtabletbodytbody/table /form

it can display in ff2.

note: it just happens when you get html in ajax, but it's okay
accessing directly by ff2

I'm sorry my poor English:)
Johnny 



Johnny wrote:
 
 Hi, guys
 
 I have a problem when i use jquery's ajax module.
 
 My jquery code is here:
 
 $(document).ready(function() {
   $(div#test).load(xml_to_page.jsp,{class:Img,sn:1});
  });
 
 xml_to_page.jsp is file transform xml to html
 
  String xml = \\xml\\ + class + .xml;
  String xsl =  \\xml\\item_attr_form.xsl;
 try {
 XSLTHelper.transform(xml, xsl, out);
 } catch ( Exception e ) {
 e.printStackTrace(response.getWriter());
 }
 
 it works in IE, it can display html created by the xml_to_page.jsp , but
 it doesn't display in FireFox, and i use DOM Inspect, the div#test
 actually have content.
 
 So where is the problem?
 
 Thank you advance!
 
 Johnny
 

-- 
View this message in context: 
http://www.nabble.com/Is-it-a-bug-tf2805700.html#a7848698
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Is it a bug

2006-12-12 Thread Johnny

nope, it display correctly in ie, but it doesn't display in firefox. it must
not be the problem of css

Brice Burgess wrote:
 
 Johnny wrote:
 it works in IE, it can display html created by the xml_to_page.jsp , but
 it
 doesn't display in FireFox, and i use DOM Inspect, the div#test actually
 have content.
   
 Johnny,
   Does:
 
 $().ready(function() {
   $(div#test).load(xml_to_page.jsp,{class:Img,sn:1}).show();
 });
 
   Fix show the content? Maybe there's a CSS rule hiding the div?
 
 ~ Brice
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Is-it-a-bug-tf2805700.html#a7846989
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Is it a bug

2006-12-11 Thread Johnny

Hi, guys

I have a problem when i use jquery's ajax module.

My jquery code is here:

$(document).ready(function() {
  $(div#test).load(xml_to_page.jsp,{class:Img,sn:1});
 });

xml_to_page.jsp is file transform xml to html

 String xml = \\xml\\ + class + .xml;
 String xsl =  \\xml\\item_attr_form.xsl;
try {
XSLTHelper.transform(xml, xsl, out);
} catch ( Exception e ) {
e.printStackTrace(response.getWriter());
}

it works in IE, it can display html created by the xml_to_page.jsp , but it
doesn't display in FireFox, and i use DOM Inspect, the div#test actually
have content.

So where is the problem?

Thank you advance!

Johnny
-- 
View this message in context: 
http://www.nabble.com/Is-it-a-bug-tf2805700.html#a7827836
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Is it a bug

2006-12-11 Thread Johnny

yeah


Erik Beeson wrote:
 


 doesn't display in FireFox, and i use DOM Inspect, the div#test actually
 have content.
 
 
 Are you saying the div DOES have content, it just isn't displaying?
 
 --Erik
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Is-it-a-bug-tf2805700.html#a7827978
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/