[jQuery] Re: how to detect if user input is a chinese character?

2009-07-12 Thread Plant More Tree
i am jus asking if there's anyway we can check if user input is chinese character. 刘永杰 wrote: > > this is not jquery function. > > 2009/7/12 Plant More Tree > >> >> >> Hi guys, >> >>I got a textarea and I need to detect instantly if use

[jQuery] how to detect if user input is a chinese character?

2009-07-11 Thread Plant More Tree
Hi guys, I got a textarea and I need to detect instantly if user input is a chinese character or not. IS there anyway jquery can help this? Thanks & Regards, Mark -- View this message in context: http://www.nabble.com/how-to-detect-if-user-input-is-a-chinese-character--tp24445883s27240p24

[jQuery] couldn't get pagination to work

2009-04-07 Thread Plant More Tree
Hi guys, I just couldn't get the tablesorter pagination to work. I'm using jquery-1.3.2.min.js. Below are my scripts: $("#contact_list_table").tablesorter({ // pass the headers argument and assing a object headers: {

[jQuery] Jquery 1.3.2 bug in getting checkbox ..... maybe

2009-03-10 Thread Plant More Tree
Hi guys, I upgraded to 1.3.2 from 1.2.6 and the following stop working: $("inp...@type=checkbox]").each(function(i, item) { }); where I have almost spent an hour to diagnose it. Hence, I change to the following then it works : $("#form1 :checkbox").each(function(i, item) { }); hop

[jQuery] how to wait for image finished loading then display the page?

2009-02-06 Thread Plant More Tree
Hi guys, My website is www.menggaris.com and if you go there 1st time, you will find that it takes sometimes to load as the first page consist of several images of a total of about 260kb in size. My index.html is like follow: ---

[jQuery] Re: How to remove an object from an Array ?

2008-06-29 Thread Plant More Tree
this one only work in mozila browser ! Ariel Flesler wrote: > > > array.splice( index_of_element, 1 ); > > -- > Ariel Flesler > http://flesler.blogspot.com/ > > On 29 jun, 06:28, Plant More Tree <[EMAIL PROTECTED]> wrote: >> Hi Guys, >&g

[jQuery] How to remove an object from an Array ?

2008-06-29 Thread Plant More Tree
Hi Guys, I got an javascript object like this : var usercontacts = { id:null, contactEmail:null, contactName:null, source:null }; and I save it into an Array with multiple of it. How can I remove one of this object from an array ? Thanks & Regards, Mark -- View this message in context:

[jQuery] Re[jQuery] move duplicate record in an Array

2008-04-13 Thread Plant More Tree
Hi guys, if got the following code which may insert duplicate record in an Array: var userContactArray = new Array(); var count = 0;

[jQuery] How to append parameter to a href ?

2008-04-01 Thread Plant More Tree
Hi guys, I am using greybox. However, I need to append some parameter to the link before opening the frame by greybox. For instance, I got a link like this : sendPage.html Send Email /*

[jQuery] Re: jquery json and zend_json

2008-03-10 Thread Plant More Tree
Hi, I have tried the samething too by adding [] to the string but nothing is alerted too. Anyone please kindly advice here. thanks ! regards, Mark jforth-2 wrote: > > > Hey thanks for the help... > > I add the [] to the string. I don't get the invalid label error but > nothing is alerte

[jQuery] Re: $.getJSON doesn't work on Vista PC while calling remote server

2008-03-09 Thread Plant More Tree
e on this. regards, Mark Joe Maller-2 wrote: > > > I've had issues where jQuery's JSON requests were treated as XHRs if > there was no JSONp callback. That obviously doesn't work going cross- > domain. > > If you change your url to /http://stufftolet.com/test/usercontact

[jQuery] $.getJSON doesn't work on Vista PC while calling remote server

2008-03-07 Thread Plant More Tree
Hi guys, if tried the following where usercontacts.j is in my localhost pc windows vista (tomcat6) and alert showed like [object object] mean there's some object in json argument: $.getJSON("usercontacts.js", function(json){ alert(json); }); so when I changed to remote locati