[jQuery] about get method cache

2006-12-25 Thread

Hi everyone
Merry Christmas.
I use jQ have some times,i find the $.get() almost use cache, the brower
don't send the request to server, but use cache data.
so, i have trouble. please tell me if i want to make get() method excute
every times. how to do i?

--
yours yongheng
msn:[EMAIL PROTECTED]
gtalk:[EMAIL PROTECTED]
tel:13810380736
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] about get method cache

2006-12-25 Thread

that is a good idea ,if the url modify , get should be excuted

2006/12/25, yi huang [EMAIL PROTECTED]:


On 12/25/06, 齐永恒 [EMAIL PROTECTED] wrote:

  Hi everyone
 Merry Christmas.
 I use jQ have some times,i find the $.get() almost use cache, the brower
 don't send the request to server, but use cache data.
 so, i have trouble. please tell me if i want to make get() method excute
 every times. how to do i?

 --
 yours yongheng
 msn:[EMAIL PROTECTED]
 gtalk:[EMAIL PROTECTED]
 tel:13810380736

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



If i've understood you correctly, this may help you:

$.get( your_url + '?'+Math.random() )

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






--
yours yongheng
msn:[EMAIL PROTECTED]
gtalk:[EMAIL PROTECTED]
tel:13810380736
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] about get method cache

2006-12-25 Thread

i am sorry , i test the solution, i use $.getJSON(),
  $.getJSON(url,{ MathRandom: Math.random()}, function() {..});
i make Math.random() a paramter, and have the same problem.



2006/12/25, 齐永恒 [EMAIL PROTECTED]:


that is a good idea ,if the url modify , get should be excuted

2006/12/25, yi huang [EMAIL PROTECTED]:

 On 12/25/06, 齐永恒 [EMAIL PROTECTED]  wrote:

   Hi everyone
  Merry Christmas.
  I use jQ have some times,i find the $.get() almost use cache, the
  brower don't send the request to server, but use cache data.
  so, i have trouble. please tell me if i want to make get()
  method excute every times. how to do i?
 
  --
  yours yongheng
  msn:[EMAIL PROTECTED]
  gtalk:[EMAIL PROTECTED]
  tel:13810380736
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 
 
 If i've understood you correctly, this may help you:

 $.get( your_url + '?'+Math.random() )

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





--
yours yongheng
msn:[EMAIL PROTECTED]
gtalk:[EMAIL PROTECTED]
tel:13810380736





--
yours yongheng
msn:[EMAIL PROTECTED]
gtalk:[EMAIL PROTECTED]
tel:13810380736
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] passing functions

2006-12-12 Thread

Hi
in jQuery bug list, i find in IE, ajaxStart return the error NULL, please
tell me the bug was closed?
and i use 1.0.3, the ajaxStart is not Work.

yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Problem about ajax readyState

2006-12-11 Thread

Hi .
i use jQuery ajax , in some times, the ajax submit was wrong, but some
time,it is right.
so i log the trace.
good stat log:

xml.readyState:1
istimeout:undefined
jQuery.ajax(options) end
Wait for a response to come back and istimeout:undefined
xml:
xml.readyState:2
istimeout:undefined
Wait for a response to come back and istimeout:undefined
xml:
xml.readyState:3
istimeout:undefined
Wait for a response to come back and istimeout:undefined
xml:
xml.readyState:4
istimeout:undefined
requestDone: false
status:success

wrong statues log:
xml:
xml.readyState:1
istimeout:undefined
jQuery.ajax(options) end
Wait for a response to come back and istimeout:undefined
xml:
xml.readyState:4
istimeout:undefined
requestDone: false
status:error
error process begin

the same post content, i don't know why the result have different. please
help me
--
yours Forever
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Two new jQuery plugins: jquery.xslTransform and jquery.debug

2006-12-06 Thread

hi, everyone.
i want to use autocomplete, but i hope i use the data in page and i sava the
data use json type.so i don't find the appropriate js, please tell me ,
thanks.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] HI

2006-12-03 Thread

hi,everyone
I find use jQ, one page have two form, but the form id is diff. i find
$(form_id).ajaxSubmit(options); will submit both them data.
i want to know how to split them , thank
and i have a requirement, one page ,two form ,have one input id in both them
same.
i want to know how to split them.
please give me help
thank

--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] HI

2006-12-03 Thread

why on defferent forms .they have to different? why not use a div and search
in the div?

2006/12/4, Brian Miller [EMAIL PROTECTED]:


The id and name attributes must always be unique on a form.  It's
breaking because you made them the same.  They *must* be different, even
if they are on different forms.

- Brian


 hi,everyone
 I find use jQ, one page have two form, but the form id is diff. i find
 $(form_id).ajaxSubmit(options); will submit both them data.
 i want to know how to split them , thank
 and i have a requirement, one page ,two form ,have one input id in both
 them
 same.
 i want to know how to split them.
 please give me help
 thank

 --
 yours ÆëÓÀºã
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


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





--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] HI

2006-12-03 Thread

thanks:
var fielddata = $(#form_id :input).serialize(); will  get  the whole form
data, i want to get one filied.and change it value.
maybe my englist level is pool , i want to say ,i have two form in one page.
and between the two form ,have pleplom.
in IE,it ok, in firefox, i find one of both ajaxSubmit() ,then ,will also
submit other form data to my server .
I use code
 $(form_id).ajaxSubmit(options);
both of two form, they have different form id and name ,so i don't know .

thanks


2006/12/4, Sam Collett [EMAIL PROTECTED]:


On 04/12/06, Brian Miller [EMAIL PROTECTED] wrote:
 The id and name attributes must always be unique on a form.  It's
 breaking because you made them the same.  They *must* be different, even
 if they are on different forms.

 - Brian

Name doesn't have to be unique (how else would radio buttons or
checkbox groups work?), but id's do.

To get field values I do:

var fielddata = $(#form_id :input).serialize();

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





--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Parameters truncated after $.post

2006-12-01 Thread

hi everyone
i am a Chinaese, i use jQ and form plusin , i find the Chinaese is posted
the wrong coding.
could you tel me what i will do.

2006/12/1, Blair McKenzie [EMAIL PROTECTED]:


Can you give us a sample page? I occassionally find bizarre problems like
this cropping up because of code that appears completely unrelated.

Blair

On 12/1/06, Christoph Baudson [EMAIL PROTECTED] wrote:

 Hi Matt,

 that's exactly how I did it. An object like
 {name1:value1,name2:value2,...}

 Any other ideas?

 Christoph

 On Thu, November 30, 2006 6:36 pm, Matt Grimm wrote:
  How is your data parameter formatted in the $.post call? It should be
 an
  object of key/value pairs rather than a request uri string like
  'key=valuekey2=value2'.
 
  m.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On
  Behalf Of Christoph Baudson
  Sent: Thursday, November 30, 2006 8:23 AM
  To: jQuery Discussion.
  Subject: [jQuery] Parameters truncated after $.post
 
  Hi there,
 
  in my script I'm trying to send an 80KB String via $.post, but somehow
 I
 
  only receive about 4KB of it. It feels like the string is sent via
 GET,
  although I use $.post.
 
  I checkd the string in the ajax function before the line
  xml.send(data);, and then it was still complete.
 
  Any ideas if there is any truncation or if GET is used instead of
 POST?
 
  Thanks for any input,
 
  Christoph
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 



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



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






--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Parameters truncated after $.post

2006-12-01 Thread

i use gb2312, because my database is gbk, and our project all src is gb2312
coding, i use java, i find my server once recive is wrong encoding.
so i want to know jQ post the data use what encoding?

在06-12-1,Blair McKenzie [EMAIL PROTECTED] 写道:



   - The page with the script will need to have the correct encoding
   - The page you are requesting needs to have the correct encoding (
   e.g. php has a method for setting encoding of page)
   - If you are using database data, the database needs to be
   configured to use the correct encoding


Others probably have more details.

Blair

On 12/1/06, 齐永恒 [EMAIL PROTECTED] wrote:

 hi everyone
 i am a Chinaese, i use jQ and form plusin , i find the Chinaese is
 posted the wrong coding.
 could you tel me what i will do.


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






--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Parameters truncated after $.post

2006-12-01 Thread

thanks ,
because some resesions , i use a fiter in reqeust, so in process jQ post, i
set reqeust setCharacterEncoding(utf-8). so , it is ok.
i find jQ formToArray ,it is tranfer chinaese to utf-8 coding.so i recive it
use utf-8.
thank a lot.

在06-12-1,Blair McKenzie [EMAIL PROTECTED] 写道:


I believe it uses the encoding of the page it is in. That's the limit of
my knowledge.

On 12/1/06, 齐永恒 [EMAIL PROTECTED]  wrote:

 i use gb2312, because my database is gbk, and our project all src is
 gb2312 coding, i use java, i find my server once recive is wrong encoding.
 so i want to know jQ post the data use what encoding?

 在06-12-1,Blair McKenzie [EMAIL PROTECTED] 写道:
 
 
 - The page with the script will need to have the correct
 encoding
 - The page you are requesting needs to have the correct encoding
 (e.g. php has a method for setting encoding of page)
 - If you are using database data, the database needs to be
 configured to use the correct encoding
 
 
  Others probably have more details.
 
  Blair
 
 
  On 12/1/06, 齐永恒  [EMAIL PROTECTED] wrote:
  
   hi everyone
   i am a Chinaese, i use jQ and form plusin , i find the Chinaese is
   posted the wrong coding.
   could you tel me what i will do.
 
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 
 


 --
 yours 齐永恒
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/




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






--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New Plugin: modalContent

2006-11-29 Thread

HI.
I find the jQ  src is compressed. could you tell me what tools can compress
the js myself ?
and  in process of compress what could be problem.
Thank.




2006/11/29, Brice Burgess [EMAIL PROTECTED]:




Gavin M. Roy wrote:

 Putting my time where my mouth is in the Stop using thickbox! I've
 created a modalContent plugin.

 You can view it and a few examples at http://jquery.glyphix.com/


Gavin,

  I agree that there needs to be a good, solid, and fast modal window
framework for jQ. I've run into many downsides with thickbox -- and would
like to see these avoided (or fixed!) in any work that goes into the modal
dialogs.

  For starters; i18n seems to be completely forgotten in these plugins
(thickbox certainly included). Plugins which take strings as parameters
(such as Kelvin Luck's datepicker  rikrikrik's quickseach) make l10n
efforts easy --  in my case I wrap a translation function around the
strings
in the template that is spitting out the $(document).ready() Javascript.
Having to constantly mod plugins so that they take a variable string to
fill
out all those title, alt, and link text atrributes they inject is no
fun!

  Secondly, when using inline content inside a modal window -- be sure to
preserve the event bindings if you're cloning the elements! It's kind of a
pain in the ass (for the SERVER!) to resort to using an ajax call to
display
the content in order to preserve a form's customized submit event. When
the
information is already available to display a form (such as fields looked
up
from a database and made available to the template) it is plain
inefficient
to make another request so that you can display the same form but preserve
any binding associated with it. See;
http://www.nabble.com/click-event-not-working---tf2612228.html#a7311920for
clarity ;)

  Lastly, there's much work out there already done. Personally, I mucho
enjoy Thickbox's method of disabling the page (overlay) and center
focusing
the modal window -- while still allowing you to scroll the page. This is
slick -- and Klaus has further enhanced it (and reduced TB size to @ 8k)
http://www.stilbuero.de/2006/11/06/a-smoother-thickbox-with-less-code/

  I'm sure there's other issues out there to be addressed -- like using
CSS
to style the modal window's border ;) These are my pleas.

Thanks,

~ Brice




--
View this message in context:
http://www.nabble.com/Stop-using-thickbox%21-tf2704990.html#a7594544
Sent from the JQuery mailing list archive at Nabble.com.


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





--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] .css works not correct for me

2006-11-29 Thread

yes , it is all test in a line. I want to know what to do this. what tools
can do.
Thanks

2006/11/29, Christof Donat [EMAIL PROTECTED]:


Hi,

  it's textAlign!

Both should work.

Christof

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





--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jquery thickbox on sourceforge.net

2006-11-29 Thread

hi all,
I am a new hand. I use jQ first, I want to save form' values in pages and
make values a list.
this, many forms save will be lists, then ,put the lists data to my server .
in this ,  i do not find the way hand the form. please tell me .
thanks

2006/11/29, Aljosa Mohorovic [EMAIL PROTECTED]:


don't know if you noticed but jquery  thickbox are used on sf.net
download pages...

--
Aljosa Mohorovic

http://www.revolucija.hr
Ivana Lucica 5
1 Zagreb, Croatia

+385 (0)1 616 8414

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





--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] HI

2006-11-29 Thread

Hi everyone:
I think a inuss, I can not find jQ with JSON, I want to hold the object on
brower. example i want to transfer my form data to JSON,


--
yours 齐永恒
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/