[jQuery] how to assign date picker for all class date ?

2009-06-11 Thread Adwin Wijaya
Hi, I have a tabular data that updated via ajax (using table and input) I have inputs that looks like this input type='text' name='birthDate' class='datepicker' value=''/ this input generated by ajax or added dynamically. on js : $('.datepicker').datepicker(); but it seems it is not

[jQuery] how to prevent user input while the page is loading

2009-03-17 Thread Adwin Wijaya
I have page that rely heavily on jquery for doing calculation. I need to prevent user to enter before the page finished loading so the javascript can be run. is there simple solutions to do that ? like displaying [loading] may be ? thanks

[jQuery] how to add callback in the $.ajax ?

2009-03-04 Thread Adwin Wijaya
Hi, can i have callback function on the $.ajax ? I don't want to use async since it will block the browser ... so can i use callback instead ? I would like to have function that return json like this function getGoodsDetail(id,member){ var result ; $.ajax({ type: POST,

[jQuery] Re: how to add callback in the $.ajax ?

2009-03-04 Thread Adwin Wijaya
return result next to the position of result = data let me know if it works Charles 2009/3/5 Adwin Wijaya adwin.wij...@gmail.com Hi, can i have callback function on the $.ajax ? I don't want to use async since it will block the browser ... so can i use callback instead ? I

[jQuery] Re: how to capture error 500/404 ?

2008-12-14 Thread Adwin Wijaya
( XHRObject.responseText, errorThrown ); }); seehttp://docs.jquery.com/Ajax/ajaxError#callback On Nov 24, 4:09 am, Adwin  Wijaya adwin.wij...@gmail.com wrote: how about using ajaxError events ? but I dont know how to capture the response text if 404 / 500 errors occured. can i use

[jQuery] Re: ask : jquery validation plugins not working

2008-12-04 Thread Adwin Wijaya
()) )                                         return false;                                 rulesCache[this.name] = true;                                 return true;                         });                 }, On Dec 3, 12:00 am, Adwin  Wijaya [EMAIL PROTECTED] wrote: Here is the test pagehttp://wysmedia.com/test/ you can delete

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread Adwin Wijaya
Here is the test page http://wysmedia.com/test/ you can delete the first field .. and the validate() will work .. but when you delete the second, third, etc ... the validation will simply said it is valid and allow me to go to next page. On Dec 2, 5:16 pm, Jörn Zaefferer [EMAIL PROTECTED]

[jQuery] ask : jquery validation plugins not working

2008-12-01 Thread Adwin Wijaya
Hi jquery users, I have forms which has a lot of input inside and all of it I set as required. Actually I generated the form using database, not by hand :) each input has unique id (generated by server). at the moment, the validation wont work on all field, it just detect the first fields ...

[jQuery] how to capture error 500/404 ?

2008-11-23 Thread Adwin Wijaya
Hi, how to capture error that produced by server (err 505 or 404) inside $.post() and $.get() ? thanks !!!

[jQuery] Re: how to capture error 500/404 ?

2008-11-23 Thread Adwin Wijaya
- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adwin Wijaya Sent: Sunday, November 23, 2008 8:58 PM To: jQuery (English) Subject: [jQuery] how to capture error 500/404 ? Hi, how to capture error that produced by server (err 505 or 404) inside $.post() and $.get

[jQuery] jQuery.getJSON ajax loading

2008-10-03 Thread Adwin Wijaya
Hi, I need to add ajax loading before jQuery.getJSON loaded ... because on some user, the connection was pretty slow and they needs to wait for several seconds... please tell me how to add ajax loading message (i will supply with the image and overlay div) before getJSON loaded and after

[jQuery] Re: jQuery.getJSON ajax loading

2008-10-03 Thread Adwin Wijaya
code                   $(Page_Block).unblock();             }        ); }); On Oct 3, 1:29 pm, Adwin  Wijaya [EMAIL PROTECTED] wrote: Hi, I need to add ajax loading before jQuery.getJSON loaded ... because on some user, the connection was pretty slow and they needs to wait

[jQuery] Re: mootools and jquery

2008-08-18 Thread Adwin Wijaya
btw, may i know why you need to convert from mootools to jquery ? you can use jquery.noConflict() so it can work with mootools (beware, some jquery plugins are not working with it) On Aug 18, 6:24 pm, Hoi [EMAIL PROTECTED] wrote: I'm completely new to jquery (and not technical...) and I've

[jQuery] ask: jquery plugins loader (just in time loader)

2008-07-22 Thread Adwin Wijaya
Hi , I have a project and my project using many plugins from jquery (thank you everybody ... ). But it makes my page load slower than usual because i load all jquery libs before loading pake (I load it on templates) but I am not using all of it ... I just need a plugins /script that can load

[jQuery] Re: How do I do a Ajax request before form submits

2008-07-22 Thread Adwin Wijaya
you can do this form onsubmit='return false' and then $(form#RegForm).submit(function() { $.get(servertime.php,function(response) { response=response.split(\n); $(#serialnumber).val(response[0]);

[jQuery] Re: How do I do a Ajax request before form submits

2008-07-22 Thread Adwin Wijaya
simple solutions ... do this on form . onsubmit='return false;' that will do what you want :) On Jul 22, 7:22 pm, HairyJim [EMAIL PROTECTED] wrote: Hi, I created a form which I wanted to submit using jQuery (I'm new to jq) but before the submit I wanted to run an ajax request and

[jQuery] is this bug ? bind not work

2008-06-29 Thread Adwin Wijaya
Hi ... I have table and inside contains image which class name = 'reason_img' my js script was like this script $(document).ready(function(){ .. another initialization goes here $('.reason_img').bind('click',function(e) {display_reason(this);}); });

[jQuery] each() how to change the element text ?

2008-06-07 Thread Adwin Wijaya
Hi ... I just want to modify my del.icio.us page so that the font color won't look bad (using jquery and greasemonkey) ... :) I did that .. and now I want to change the text inside a class='pop' like this [code]a class=pop style=padding: 0pt 0.2em; background-color: white; color: red;

[jQuery] Re: each() how to change the element text ?

2008-06-07 Thread Adwin Wijaya
. - Richard Richard D. Worthhttp://rdworth.org/ On Sat, Jun 7, 2008 at 2:31 AM, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi ... I just want to modify my del.icio.us page so that the font color won't look bad (using jquery and greasemonkey) ... :) I did that .. and now I want to change the text

[jQuery] bug: [ui 1.5b4] jquery ui ... dialog problem

2008-05-30 Thread Adwin Wijaya
I used jquery 1.5b2 packed and I use jquery dialog ... it work perfectly .. but when I used 1.5b4 packed ... the dialog won't open ... it produce error ... which i don't know why ...

[jQuery] empty class return undefined .. bug ?

2008-05-11 Thread Adwin Wijaya
I have code .. to check what class in every id .. i found that if the class=, attr will return undefined ... example: className = $('#myid').attr('class'); I use Jquery 1.2.4b from ui.jquery.com is it the bug or it is the correct result from attr() ?

[jQuery] Re: Modal Dialog in blockUI

2008-05-08 Thread Adwin Wijaya
it is easy ... for example your block like this div id='blockui'/div get the page from ajax first ... webpage = ... ; //get from ajax $('#blockui').empty(); $('#blockui').append(webpage); On May 6, 10:34 pm, Adam [EMAIL PROTECTED] wrote: Is it possible to show an external webpage inside of

[jQuery] Re: using.attr('type') returns undefined

2008-05-07 Thread Adwin Wijaya
works fine in my web as well ... may be you make a typo mistakes :) On May 7, 5:12 am, JP [EMAIL PROTECTED] wrote: if i have input id=fname name=fname type=text value= / if I do: $('#fname').attr('type') - it returns undefined how can I get the type ?

[jQuery] how to access this function (flexigrid)

2008-05-07 Thread Adwin Wijaya
Hi .. I download the Flexigrid from http://www.webplicity.net/flexigrid/ and I just doing a test, everything work fine but I found that my quick search doesn't work .. and I don't know why. I have read the code and found doSearch() function to perform search ... but I don't know how to call it

[jQuery] Re: TableSorter + Filtering + Ajax

2008-05-07 Thread Adwin Wijaya
Uhmm ... flexigrid looks more difficult to master that tablesorter :) btw, can tablesorter sort using ajax and pagination. I have 1000 data and I dont want to throw all the data to user. so i use pagination, separated into 10 records per page ... but I dont have any idea how to override the

[jQuery] Re: Best way to do Lightbox-like modal windows?

2008-05-07 Thread Adwin Wijaya
I use JQuery UI Dialog ...easy and elegant :) enough for simple to complex dialog box. for displaying error/warning/info I use jqalert() as replacement of alert box by browser. On May 8, 4:36 am, Kyrre Nygård [EMAIL PROTECTED] wrote: Hello! What's the best way to do a Lightbox-like modal

[jQuery] event data ?

2008-05-06 Thread Adwin Wijaya
Hi I got a problem ... I have more than 1 buttons and each buttons has unique name. I assign / bind the button with function like this : $('.mybutton').bind('click',function(btn){ alert( btn.id); } ); every time i click on the buttons the alert always show undefined. How to get the ID of

[jQuery] Re: TableSorter + Filtering + Ajax

2008-05-06 Thread Adwin Wijaya
I got the same problem with you, at the moment I use partition from CI. and if you want you can use ajax to get partitioned data. I have no idea to get which one is sorted. adwin On May 6, 7:18 am, patrick davey [EMAIL PROTECTED] wrote: Hi, I am using the tablesorter

[jQuery] Re: event data ?

2008-05-06 Thread Adwin Wijaya
, disabled); //disable the clicked button }); On May 6, 3:33 am, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi I got a problem ... I have more than 1 buttons and each buttons has unique name. I assign / bind the button with function like this : $('.mybutton').bind('click',function(btn

[jQuery] Re: jQuery UI v1.5b3 is Now Available for Download plus New Site

2008-05-06 Thread Adwin Wijaya
I used 1.5b2 and it worked well.. but when I changed to 1.5b3 it doesnt work .. like the datepicker ... I use this class instead using one by one jquery.ui-all-1.5b4.js but using beta2 it work perfectly ... here is the error : $.effects has no properties [Break on this error] $.effects.blind =

[jQuery] Re: $ is not defined

2008-05-06 Thread Adwin Wijaya
It can be becaused the $ was used by another library like in wordpress admin (if i am not wrong), $ is assigned to their own lib. so try to use this : jQuery('#yourid').val(); :) On May 6, 11:57 pm, motob [EMAIL PROTECTED] wrote: When ever I get the $ not defined error, its because my core

[jQuery] Re: need to popup window, grab values from mysql db, have user edit, and save data

2008-05-03 Thread Adwin Wijaya
I use UI Dialog in my project as well . and it is good ;) On May 3, 9:11 am, ktpmm5 [EMAIL PROTECTED] wrote: I'm looking for the best popup window plugin available. I want clients to be able to view a schedule, and click a date. This will display a popup window with values from a mysql

[jQuery] Re: event trigger doesnt work ?

2008-05-02 Thread Adwin Wijaya
work, or just abbreviate it and use $(#myname).blur(); instead. HTH! On May 1, 7:23 pm,Adwin Wijaya [EMAIL PROTECTED] wrote: I have a field with onblur function like this input type='text' name='myname' id='myname' value='' onblur='dosomething(this.value);'/ and then in a button i put

[jQuery] event trigger doesnt work ?

2008-05-01 Thread Adwin Wijaya
I have a field with onblur function like this input type='text' name='myname' id='myname' value='' onblur='dosomething(this.value);'/ and then in a button i put $('#myname').trigger('blur'); ... it seems the trigger wont call dosomething when i call $ ('#myname').trigger('blur');

[jQuery] how to use ajaxComplete on specific javascript function

2008-04-29 Thread Adwin Wijaya
Hi .. I have a form let call it myform, inside the form I use many kind of ajax calls. I have some ajax function for validating data, some for retrieving/ code completion and I have one ajax for post the data/save data. I want $('#myform').ajaxComplete(function(data){ . }); to be called

[jQuery] ajax submit and jquery validation

2008-04-29 Thread Adwin Wijaya
Hi :D I use Jquery validation from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ and I got a question ... I have form that I need to submit using ajax post() function.it works well ... and now I tried to add data validation using jquery validation .. it works well. my form

[jQuery] Re: ajax submit and jquery validation

2008-04-29 Thread Adwin Wijaya
how to use jquery validation to return true/false while doing form validation. Thx On Apr 30, 12:05 am, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi :D I use Jquery validation fromhttp://bassistance.de/jquery-plugins/jquery-plugin-validation/ and I got a question ... I have form that I need

[jQuery] Re: Off-line documentation

2007-11-26 Thread Adwin Wijaya
jquery 1.2 source should have the documentation and examples in the source, but the developers take the precious one away .. (the previous version of jquery has nice and easy to follow documentation and examples, even if we have to read the source) why in jquery 1.2 they are removed ? On Nov

[jQuery] Re: Off-line documentation

2007-11-26 Thread Adwin Wijaya
can jquery provide with the offline wiki (updated every week or month) so that everyone can have the offline documentation .. i used to work on the place where there is no internet access .. so i need to open the documentation everytime. currently i still use documentation from jquery 1.3.x I do

[jQuery] Re: jQuery UI already released?

2007-09-17 Thread Adwin Wijaya
the ui.jquery.com mentioned that we can download ui 1.0 but i got this xml Error CodeNoSuchKey/Code MessageThe specified key does not exist./Message Keyui-1.0.zip/Key RequestId98B7FD0A90EF331D/RequestId HostId bqlj57YlE9zlvYmyBQKqheLzAHHg1BwSyP0he48+TVt/AN2454MMxonzCnWN2HPG /HostId

[jQuery] Re: Announce: jQuery UI 1.0 Released

2007-09-17 Thread Adwin Wijaya
Congratulations :D I wil try at home tonight :D btw, when I tried on the thumbnail, why it always asking the server for large image ? (we usually use cache instead of asking the server all the times.. ) .. just asking ;) great job guys .

[jQuery] Re: BUG ? cannot detect the id with :

2007-09-14 Thread Adwin Wijaya
I just wonder why in jquery we need to escape such an unusuall characters ? (I found in prototype, we dont need to do that, I am not trying to compare, but i just wonder about that). thx

[jQuery] BUG ? cannot detect the id with :

2007-09-13 Thread Adwin Wijaya
Hi :) I am glad you are reache version 1.2 :) that's awesome .. but I would like to report the bug, it seems the jquery 1.2 (and before) still couldnt detect the id with : for example div id=this:is:only:example /div this code usually generated by those who using netbeans + visual