[jQuery] Memory leak?
I have a strange behaviour (jQuery 1.1.3 /1.1.2). I have a screen with a lot of ajax call. That works fine in local test environment (same machine server-client) or when the net is quick. However I when I put it in our intranet there are a machine (win2000 ie6) that some times have memory leaks. I have checked the cpu and is not at 100%. I check time consumption for the server calls and this machine (I suppose that we have some net problem) is very slow. I don't know how afford this issue in order to investigate. It seems that the problem is related with the net (then ajax call are very slow)... because in other PC doesn't happen. But maybe is something related with cpu machine or OS or IE version. Any clue to begin to investigate?
[jQuery] Re: Performance from 1.1.2 to 1.1.4
I will try Jeffry. I will keep you informed. On 28 ago, 19:07, Jeffrey Kretz [EMAIL PROTECTED] wrote: Wow. Well that's not too good. Is there any way you could upload a sample of this to a public location? This would really be needed for to track down what the issue is. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Ofoscaresp Sent: Tuesday, August 28, 2007 12:14 AM To: jQuery (English) Subject: [jQuery] Re: Performance from 1.1.2 to 1.1.4 Hi Jeffry , I am agree about VS. When I execute without VS I get better performance obiuslly however 1.1.2/1.1.3 is faster thatn 1.1.4: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in client after the second combo is load in client) . On 27 ago, 19:46, Jeffrey Kretz [EMAIL PROTECTED] wrote: As a note, any tests I have done in Visual Studio in ANY javascript (not just jQuery) are significantly slower in debug mode with VS attached than if just running it normally. This is due to the work the debugger is doing while the code executes. I would suggest testing your app on your intranet, but not in debug mode, with the script itself calculating the time it takes to execute. This would be a more accurate way to see if 1.1.4 is actually slower than 1.1.2 in your project. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Ofoscaresp Sent: Monday, August 27, 2007 9:35 AM To: jQuery (English) Subject: [jQuery] Re: Performance from 1.1.2 to 1.1.4 I am in debug mode (visual studio) in execution the diferences are: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in client after the second combo is load in client) Seems that 1.1.2 1.1.3 is faster than 1.1.4 On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote: Slow server? There's on reason for a 7 second delay of any sort in jQuery. Do you have a demo of this online? --John On 8/27/07,oscaresp[EMAIL PROTECTED] wrote: I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I got some strange result. I have two combo, when you chose an item in the first I load the related items in the second one using an ajax call. With 1.1.2 I spend 1 second to load the second combo... With 1.1.4 I spend 8 seconds Any explanation?- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: Performance from 1.1.2 to 1.1.4
Hi Jeffry , I am agree about VS. When I execute without VS I get better performance obiuslly however 1.1.2/1.1.3 is faster thatn 1.1.4: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in client after the second combo is load in client) . On 27 ago, 19:46, Jeffrey Kretz [EMAIL PROTECTED] wrote: As a note, any tests I have done in Visual Studio in ANY javascript (not just jQuery) are significantly slower in debug mode with VS attached than if just running it normally. This is due to the work the debugger is doing while the code executes. I would suggest testing your app on your intranet, but not in debug mode, with the script itself calculating the time it takes to execute. This would be a more accurate way to see if 1.1.4 is actually slower than 1.1.2 in your project. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oscar esp Sent: Monday, August 27, 2007 9:35 AM To: jQuery (English) Subject: [jQuery] Re: Performance from 1.1.2 to 1.1.4 I am in debug mode (visual studio) in execution the diferences are: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in client after the second combo is load in client) Seems that 1.1.2 1.1.3 is faster than 1.1.4 On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote: Slow server? There's on reason for a 7 second delay of any sort in jQuery. Do you have a demo of this online? --John On 8/27/07, oscar esp [EMAIL PROTECTED] wrote: I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I got some strange result. I have two combo, when you chose an item in the first I load the related items in the second one using an ajax call. With 1.1.2 I spend 1 second to load the second combo... With 1.1.4 I spend 8 seconds Any explanation?- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: Performance from 1.1.2 to 1.1.4
No. I just call an ajax method with asycn=false -- divTarget = component1 jQuery.ajax({ type: post, url: url, data: pars, async: false, dataType: html, success: function(data){ jQuery(#divPoblacion_+divTarget).get()[0].innerHTML=data; } }); - On 28 ago, 11:16, Renato Formato [EMAIL PROTECTED] wrote: oscar esp ha scritto: Hi Jeffry , I am agree about VS. When I execute without VS I get better performance obiuslly however 1.1.2/1.1.3 is faster thatn 1.1.4: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in client after the second combo is load in client) . Are you calling the clone function inside your code? in 1.1.4 clone is much slower. Renato
[jQuery] Problems to migrate from 1.1.2 to 1.1.4
I am trying to migrate my web app from jQuery 1.1.2 to 1.1.4. Just to begining I got some error when I load some pluguins. All errors are related with $... I used: script src=/InmoFusion2/libs_Ext/jquery/jquery.js/script script jQuery.noConflict(); /script And then : script src=/InmoFusion2/libs_Ext/jquery/deserialize.js/script When I try to execute the same code with 1.1.4 I get some errors: By example loading jQeury-calendar.js Runtime error: $.fn is null or not an object... - $.fn.calendar = function(a) { // attach the calendar to each nominated input element this.each(function() { if (this.nodeName.toLowerCase() == 'input') { popUpCal.connectCalendar(this); } }); return this; }; - Are there any new way to call noConflict method? Thanks!!!
[jQuery] Performance from 1.1.2 to 1.1.4
I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I got some strange result. I have two combo, when you chose an item in the first I load the related items in the second one using an ajax call. With 1.1.2 I spend 1 second to load the second combo... With 1.1.4 I spend 8 seconds Any explanation?
[jQuery] Performance from 1.1.2 to 1.1.4
I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I got some strange result. I have two combo, when you chose an item in the first I load the related items in the second one using an ajax call. With 1.1.2 I spend 1 second to load the second combo... With 1.1.4 I spend 8 seconds Any explanation?
[jQuery] Re: Performance from 1.1.2 to 1.1.4
I am in debug mode (visual studio) in execution the diferences are: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in client after the second combo is load in client) Seems that 1.1.2 1.1.3 is faster than 1.1.4 On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote: Slow server? There's on reason for a 7 second delay of any sort in jQuery. Do you have a demo of this online? --John On 8/27/07, oscar esp [EMAIL PROTECTED] wrote: I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I got some strange result. I have two combo, when you chose an item in the first I load the related items in the second one using an ajax call. With 1.1.2 I spend 1 second to load the second combo... With 1.1.4 I spend 8 seconds Any explanation?- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: Problems to migrate from 1.1.2 to 1.1.4
Ok John I have renamed $ to jquery and works fine. PD. the plugings were jquery_calendar deserialization On 27 ago, 18:11, John Resig [EMAIL PROTECTED] wrote: Actually, from the looks of it, he's trying to include a plugin that requires $ to be coming from jQuery - which is not the case once you call noConflict(). @oscar: If you want to keep using that plugin with noConflict(), you'll have to go in and rename all instances of $ to jQuery. --John On 8/27/07, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 27, 12:43 pm, oscar esp [EMAIL PROTECTED] wrote: Just to begining I got some error when I load some pluguins. All errors are related with $... When I try to execute the same code with 1.1.4 I get some errors: By example loading jQeury-calendar.js Runtime error: $.fn is null or not an object... This error happens when your jQuery file is not loading. Double-check the name/path of your jQuery include file. If you are using firebug, be aware that firebug unfortunately does not show include failures as a script error - you need to look at the Net tab to see the error.- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: Performance from 1.1.2 to 1.1.4
I am executing into intranet... Could Ido any test that could help you? On 27 ago, 19:05, John Resig [EMAIL PROTECTED] wrote: Do you have a demo of this online? I haven't been able to reproduce this at all. --John On 8/27/07, oscar esp [EMAIL PROTECTED] wrote: I am in debug mode (visual studio) in execution the diferences are: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in client after the second combo is load in client) Seems that 1.1.2 1.1.3 is faster than 1.1.4 On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote: Slow server? There's on reason for a 7 second delay of any sort in jQuery. Do you have a demo of this online? --John On 8/27/07, oscar esp [EMAIL PROTECTED] wrote: I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I got some strange result. I have two combo, when you chose an item in the first I load the related items in the second one using an ajax call. With 1.1.2 I spend 1 second to load the second combo... With 1.1.4 I spend 8 seconds Any explanation?- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: Ajax Setup Questions
I test this code: jQuery.ajaxSetup( error: function(request, settings,ob){ alert( error: );} }) ; Then error message appear always that I do ajax athought ajax call is success. Am I doing something wrong or is a bug? On 2 ago, 03:13, Ganeshji Marwaha [EMAIL PROTECTED] wrote: the function is ajaxError() and not error() -GTG On 8/1/07, oscar esp [EMAIL PROTECTED] wrote: I need to have a global behaviour for ajax call. I have next code: jQuery().ajaxSuccess(function(request, settings){updateCounter ();}); jQuery().error(function(request, settings){alert('APLICATION ERROR\n '+settings.url);}); jQuery.ajaxTimeout(12); - Ajax Success works fine. - I don't know how provoke and error to execute error function Any suggestion? - TimeOut: When time out event is fired, error function should be executed or there is any way to specify which function should be fired? Thanks.- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] blockUI question
I am using blockUI like modal window, it means that I load html page in the blockUI message. That works fine, however I have a problem now, because I need to block (when I am in the modal) to show confirm message... Are there any way to block twice?
[jQuery] Ajax Setup Questions
I need to have a global behaviour for ajax call. I have next code: jQuery().ajaxSuccess(function(request, settings){updateCounter ();}); jQuery().error(function(request, settings){alert('APLICATION ERROR\n '+settings.url);}); jQuery.ajaxTimeout(12); - Ajax Success works fine. - I don't know how provoke and error to execute error function Any suggestion? - TimeOut: When time out event is fired, error function should be executed or there is any way to specify which function should be fired? Thanks.
[jQuery] how do a post-action by default for every ajaxCall success
I need to control the expiration time session in order to warning the user. I am using settimeout method. In order to update the settimeout I need to call a method each time that Ajax call has success. I have a lot of Ajax calls... I would like execute by default the update timeout for every Ajax call. Is there any way to do it using ajaxsetup? Or ... Are there any palace into jquery code where I could add this call?
[jQuery] Re: IE 7/6 frozen with massive use of jquery plugins
Thanks Oliver. I will try. On 21 jul, 14:52, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: I m no specialist of such issue but you could first check if its memory related. Just browse your website and see if the memory is continuously rising.(In the task-manager) oscar esp wrote: I have intermittent error, basically IE is frozen. I can not reproduce seems that I doesn't follow a pattern. I have developed an application with asp and I use a lot of jquery in order to do Ajax call to load scripts and pages. The structure of the application is: I have a main page with two divs: a) Menu div. b) Content div. When I load the main page I load all the java files that I will need using ajax. I use a lot of plugins superfish, validation, form, IFrame, block...etc. When user chose a menu option: - Block the page with waiting message. - Clean content div (using empty method). - Call using ajax to the option page (ex: newCustomer). o In the success: I assign the data of the result of the ajax call to the content div. o If the loaded page has some dynamics divs then I use again an ajax call to load that dynamic links. I don't know why the system froze. Maybe is because I load all the javascript in the main window and it is too much? Maybe javascript has any expiration? Maybe is because I jquery can not control all the events (remember that I only load jquery one time) and I use a lot of forms with validations (plugin validation) and ajax calls? Could be related with the cpu? My pc is quite powerful , and It seems (seems...) that happens more often with I less powerful pcs... I am I little bit desperate because I don't' know who begin to investigate the problem. Any help?- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] IE 7/6 frozen with massive use of jquery plugins
I have intermittent error, basically IE is frozen. I can not reproduce seems that I doesn't follow a pattern. I have developed an application with asp and I use a lot of jquery in order to do Ajax call to load scripts and pages. The structure of the application is: I have a main page with two divs: a) Menu div. b) Content div. When I load the main page I load all the java files that I will need using ajax. I use a lot of plugins superfish, validation, form, IFrame, block...etc. When user chose a menu option: - Block the page with waiting message. - Clean content div (using empty method). - Call using ajax to the option page (ex: newCustomer). o In the success: I assign the data of the result of the ajax call to the content div. o If the loaded page has some dynamics divs then I use again an ajax call to load that dynamic links. I don't know why the system froze. Maybe is because I load all the javascript in the main window and it is too much? Maybe javascript has any expiration? Maybe is because I jquery can not control all the events (remember that I only load jquery one time) and I use a lot of forms with validations (plugin validation) and ajax calls? Could be related with the cpu? My pc is quite powerful , and It seems (seems...) that happens more often with I less powerful pcs... I am I little bit desperate because I don't' know who begin to investigate the problem. Any help?
[jQuery] Session problems
I have a App devoloped with asp jQuery. I have a strange behaviour with the session. Some times dissapear. I don't have a pattern to reproduce it... I would like if anyone has had problems with session using ajax calls... in order to determinate if it is a problem related with ajax calls or with asp. Thanks.
[jQuery] Select radio button item
I have a radio button group. I would like check an item when a user click on button. The radio group has 3 items. I know that I can get the radio button group using: jQuery(#idRadioButton).click() However I dont' know how select an item specifically (for exemple which has value='') thanks
[jQuery] Select radio button item
I have a radio button group with 4 items, each one has a value (1,2,3,''). On click in a button of my form I would like the check the radio button with '' value. I supose that I can access to the radio group ussing $(@idRaio) but then I don't know how can access to the item with value='' Any idea?
[jQuery] jQuery 1.1.3+ jBlock-Pluggin
Seems that block pluggin doens't work the same way with jQuery 1.1.3 With 1.1.2: - I had jBlock message with filter opacity in order to show a message with semi transparent background. With 1.1.3: - Same code doesn't maintain the opacity and now is 100% (0 transparency).
[jQuery] form onchange event
Hi, I have a form with submit button. When I load the form I load the var values in order to fill the form. Initiallly submit button is disabled... I would like: If use change any thing into the form I will like to enable the button. I dont' know If there is a event like form onchage='' I need that it works with ie and seems that onghange event doesn't work. Maybe adding some event to the form?
[jQuery] Re: encodeURIComponent localized for custom encoding
diff -u ¿? I don't know diff prg. :-( Thanks. On 21 jun, 18:41, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: do a diff -u between the 2 versions is there anything more than a slight change in param: ? On 6/21/07, oscar esp [EMAIL PROTECTED] wrote: I have some issues with jquery . When I use the jquery from your branch I get some error in code that works fine with official 1.2 version. I have ajax calls that returns a html in order tu full a div. Seems that if data has html doesn't work Seems that type param doesn't work. Example: 1- This work fine with official version var url = test2.asp var pars= method=getEstadoConscmpAction=outType=1idComponent=COD_EST_CONS_SelidName=COD_EST_CONS jQuery.ajax({ type: post, url: url, data: pars, async: false, dataType: html, success: function(data) { jQuery(#dRes).html(data); } }); (data is = SELECT id='COD_EST_CONS_Sel' name='COD_EST_CONS' class='undefined' OPTION value='-1'Seleccione un valor/ OPTIONOPTION value='1' Nuevo/OPTIONOPTION value='2' A reformar/ OPTIONOPTION value='3' Semi Nuevo/OPTION/SELECT) But it doesn't work fine with your jquery version. Never enter in success method, however the call to test2.asp (that returns the select) is done. If I delete the dataType then success function is executed. Seems that there are some issue with dataType param. Maybe it is not possible but: Could we add the charset setup into 1.2 official version? I need to be sure that putting the cahrset we don't crash other things... Seems that be never fix! the problem. Thanks Jake. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: encodeURIComponent localized for custom encoding
I have some issues with jquery . When I use the jquery from your branch I get some error in code that works fine with official 1.2 version. I have ajax calls that returns a html in order tu full a div. Seems that if data has html doesn't work Seems that type param doesn't work. Example: 1- This work fine with official version var url = test2.asp var pars= method=getEstadoConscmpAction=outType=1idComponent=COD_EST_CONS_SelidName=COD_EST_CONS jQuery.ajax({ type: post, url: url, data: pars, async: false, dataType: html, success: function(data) { jQuery(#dRes).html(data); } }); (data is = SELECT id='COD_EST_CONS_Sel' name='COD_EST_CONS' class='undefined' OPTION value='-1'Seleccione un valor/ OPTIONOPTION value='1' Nuevo/OPTIONOPTION value='2' A reformar/ OPTIONOPTION value='3' Semi Nuevo/OPTION/SELECT) But it doesn't work fine with your jquery version. Never enter in success method, however the call to test2.asp (that returns the select) is done. If I delete the dataType then success function is executed. Seems that there are some issue with dataType param. Maybe it is not possible but: Could we add the charset setup into 1.2 official version? I need to be sure that putting the cahrset we don't crash other things... Seems that be never fix! the problem. Thanks Jake.
[jQuery] Re: superfish problems with ie6
Many thanks Joel I have copied the code that your wrote and now works perfectlly. Thanks again for your help. On 20 jun, 03:47, Joel Birch [EMAIL PROTECTED] wrote: On 20/06/2007, at 12:43 AM, Joel Birch wrote: Link: localhost/~joelbirch/plugins/superfish/oscar-test/ Sorry, the correct url is:http://users.tpg.com.au/j_birch/plugins/superfish/oscar-test/ Joel.
[jQuery] Re: superfish problems with ie6
It is difficult to put it into public server rightnow. The problem is related with a bug in ie6. http://www.shepherdweb.com/2007/02/14/z-index-ignored-for-select-element-in-ie-6-workaround http://www.hedgerwow.com/360/bugs/css-select-free.html I don't know if we could apply some solution into superfish in order to fix. On 18 jun, 12:39, Joel Birch [EMAIL PROTECTED] wrote: On 18/06/2007, at 7:01 PM,oscarespwrote: I have a menu superfish. I have added i6 patch, and works fine. However I have this design: menuOp1 menuOP2 ___ label: comboBox V When I click on menuOP1 the options are displayed (vertically), however the comobox appears over the options. I dont' know if my explanatios is good enought. It sounds like you have applied the bgIframe plugin to the submenus as shown on the Superfish demo page, but it is not working for some reason. Most likely it is something trivial like a spelling error or simply not including the bgIframe code correctly. Do you have a live url we can look at? If so, this should be easy to solve (ha, famous last words ;) ). Joel Birch.
[jQuery] Re: superfish problems with ie6
Thanks Joel. I have test: a) bgIframe is loaded correctlly. The structure of my page is: html div here I put the menu /div div here I have a page that I have load with ajax and this page contains the select item. /div the superfish call: jQuery(#nuevomenu).superfish(); jQuery.find(li[ul]).mouseover(function(){ $(ul, this).bgIframe({opacity:false});}); jQuery.find(a).focus(function(){ I dont' know if it it can help you. If nor I can try to do a little test or debug or I don't know :-( On 19 jun, 09:53, Joel Birch [EMAIL PROTECTED] wrote: On 19/06/2007, at 5:46 PM,oscarespwrote: It is difficult to put it into public server rightnow. The problem is related with a bug in ie6. http://www.shepherdweb.com/2007/02/14/z-index-ignored-for-select- element-in-ie-6-workaround http://www.hedgerwow.com/360/bugs/css-select-free.html I don't know if we could apply some solution into superfish in order to fix. This is precisely the IE bug that the bgIframe plugin fixes. From what you said in your original post, it seems like you have applied that plugin but it is not working. Look into why it is not working - maybe begin by making sure the bgIframe script is loading correctly. Look for typos or spelling differences and also check the paths to the relevant files. I wish I could help you more than that, but without looking at your code there is not much more I can do except assure you that getting the bgIframe patch working correctly will fix your select box z-index problem. Check out the Superfish demo page and notice that in IE6 the select boxes do not appear above the submenus. Joel Birch.
[jQuery] superfish problems with ie6
I have a menu superfish. I have added i6 patch, and works fine. However I have this design: menuOp1 menuOP2 ___ label: comboBox V When I click on menuOP1 the options are displayed (vertically), however the comobox appears over the options. I dont' know if my explanatios is good enought.
[jQuery] Re: encodeURIComponent localized for custom encoding
Hi I have test this code: jQuery.ajaxSetup({contentType: application/x-www-form- urlencoded;charset=iso-8859-1}) jQuery.pair = function(f,v) {return escape(f) + = + escape(v)}; var url = test2.asp pars= text2=áéíáéáa jQuery.ajax({ type: get, url: url, data: pars, async: false, dataType: html }); Works fine. I get áéíáéáa However: type:post seems that doesn't work I get áéà ç áéáa We can fix it ¿? Tomorrow I will try with plugin Form. Just to keep it in mind: Your jQuery branch is standar 1.2+patch UTF8¿? PD:Thanks for your help!!! For me this issue is a critical, and to mantain my current project too.. because I decide to use jquery and teacher begins to be scare.. On 14 jun, 20:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: $.pair = function(f,v) {return escape(f) + = + escape(v)}; is the key, otherwise you would have the standard utf behaviour On 6/14/07, oscar esp [EMAIL PROTECTED] wrote: Hi I have been on holidays and I have not time to test it. In order to keep in mind: I need to dowload from your brach. I am using jquery 1.2 .. Then If I take the jquery from your brach it is a standar jquery 1.2 + your modifications for enconding? I am worry ... to be sure that are the same versión that I am using. Then: 1- set set ajaxSetup: ajaxSetup({contentType: application/x-www-form-urlencoded; charset=iso-8859-1}) 2- After that all params of ajaxCall like: jQuery.ajax({ type: POST, url: url, data: param, async: false, dataType: html }; Params will be in iso-8859-1¿? On 10 jun, 19:53, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: keep me posted!! You may also need : ajaxSetup({contentType: application/x-www-form-urlencoded; charset=whatever charset you want to call it}) On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Oscar, you can play with the jQuery from my branch (not released, and just to try it... no guarantees!!) http://jqueryjs.googlecode.com/svn/branches/jake-dev/dist/ On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: oops! that's on the googlegroups site. On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: $.pair = function(f,v) {return escape(f) + = + escape(v)}; and all your 'get' parameters use the new encoding. If you care to test... I'll save up a full version on the escape is brain dead , as it won't work with the full range of UTF... but the classic hi-ascii chars seem to work.. I tested with a ö (only) On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: You are the man :-P In order to use it. then I only need add the js ¿? or I need to call a extra code!!! On 10 jun, 18:44, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Hey Oscar, You were the reason I wrote this patch!!! Plus I had no beautiful way to do non-utf encoding A couple people came up with other solutions, but I like mine best, and it shrinks the jQuery size a few bytes. On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: Hi I have a problem realted with charsets as you know. Could I use this code in order to fix my problem? On 10 jun, 06:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: http://dev.jquery.com/ticket/1289 On 6/9/07, Brandon Aaron [EMAIL PROTECTED] wrote: Be sure to add this to trac. -- Brandon Aaron On 6/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I also added to the patch renaming the parameter 'xml' and sometimes 'r' to 'xhr'. I think it makes it easier to read. http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js On 6/7/07, Mike Alsup [EMAIL PROTECTED] wrote: I like this patch. Jörn? Brandon? John? Anyone? alternate encoding done cleanly... http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js a small patch allows escape (or other) instead of encodeURIComponent while localizing all calls to encodeURIComponent this patch seems to make the packed size of jQuery even smaller. $.pair is used in param (serialize) and can easily be overriden. as in $.pair = function(f,v) {return escape(f) + = + escape(v)}; $.ajax({ url: /test.cgi, data: {foo:'Jörn'}, success: function(){ console.log(arguments)} }) -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita
[jQuery] Re: encodeURIComponent localized for custom encoding
Ok fine! I like to be a beta tester. On 14 jun, 20:38, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: this patch is changes ajax, form uses ajax, so it should work! That's what I hope we will know after you test! On 6/14/07, oscar esp [EMAIL PROTECTED] wrote: Another questionbefore to test it... I am using form prlugin to send the info as far I undestand if I put this patch in jquery the form plugion will mantain the new charset? On 10 jun, 19:53, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: keep me posted!! You may also need : ajaxSetup({contentType: application/x-www-form-urlencoded; charset=whatever charset you want to call it}) On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Oscar, you can play with the jQuery from my branch (not released, and just to try it... no guarantees!!) http://jqueryjs.googlecode.com/svn/branches/jake-dev/dist/ On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: oops! that's on the googlegroups site. On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: $.pair = function(f,v) {return escape(f) + = + escape(v)}; and all your 'get' parameters use the new encoding. If you care to test... I'll save up a full version on the escape is brain dead , as it won't work with the full range of UTF... but the classic hi-ascii chars seem to work.. I tested with a ö (only) On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: You are the man :-P In order to use it. then I only need add the js ¿? or I need to call a extra code!!! On 10 jun, 18:44, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Hey Oscar, You were the reason I wrote this patch!!! Plus I had no beautiful way to do non-utf encoding A couple people came up with other solutions, but I like mine best, and it shrinks the jQuery size a few bytes. On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: Hi I have a problem realted with charsets as you know. Could I use this code in order to fix my problem? On 10 jun, 06:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: http://dev.jquery.com/ticket/1289 On 6/9/07, Brandon Aaron [EMAIL PROTECTED] wrote: Be sure to add this to trac. -- Brandon Aaron On 6/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I also added to the patch renaming the parameter 'xml' and sometimes 'r' to 'xhr'. I think it makes it easier to read. http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js On 6/7/07, Mike Alsup [EMAIL PROTECTED] wrote: I like this patch. Jörn? Brandon? John? Anyone? alternate encoding done cleanly... http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js a small patch allows escape (or other) instead of encodeURIComponent while localizing all calls to encodeURIComponent this patch seems to make the packed size of jQuery even smaller. $.pair is used in param (serialize) and can easily be overriden. as in $.pair = function(f,v) {return escape(f) + = + escape(v)}; $.ajax({ url: /test.cgi, data: {foo:'Jörn'}, success: function(){ console.log(arguments)} }) -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: encodeURIComponent localized for custom encoding
Hi I have been on holidays and I have not time to test it. In order to keep in mind: I need to dowload from your brach. I am using jquery 1.2 .. Then If I take the jquery from your brach it is a standar jquery 1.2 + your modifications for enconding? I am worry ... to be sure that are the same versión that I am using. Then: 1- set set ajaxSetup: ajaxSetup({contentType: application/x-www-form-urlencoded; charset=iso-8859-1}) 2- After that all params of ajaxCall like: jQuery.ajax({ type: POST, url: url, data: param, async: false, dataType: html }; Params will be in iso-8859-1¿? On 10 jun, 19:53, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: keep me posted!! You may also need : ajaxSetup({contentType: application/x-www-form-urlencoded; charset=whatever charset you want to call it}) On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Oscar, you can play with the jQuery from my branch (not released, and just to try it... no guarantees!!) http://jqueryjs.googlecode.com/svn/branches/jake-dev/dist/ On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: oops! that's on the googlegroups site. On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: $.pair = function(f,v) {return escape(f) + = + escape(v)}; and all your 'get' parameters use the new encoding. If you care to test... I'll save up a full version on the escape is brain dead , as it won't work with the full range of UTF... but the classic hi-ascii chars seem to work.. I tested with a ö (only) On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: You are the man :-P In order to use it. then I only need add the js ¿? or I need to call a extra code!!! On 10 jun, 18:44, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Hey Oscar, You were the reason I wrote this patch!!! Plus I had no beautiful way to do non-utf encoding A couple people came up with other solutions, but I like mine best, and it shrinks the jQuery size a few bytes. On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: Hi I have a problem realted with charsets as you know. Could I use this code in order to fix my problem? On 10 jun, 06:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: http://dev.jquery.com/ticket/1289 On 6/9/07, Brandon Aaron [EMAIL PROTECTED] wrote: Be sure to add this to trac. -- Brandon Aaron On 6/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I also added to the patch renaming the parameter 'xml' and sometimes 'r' to 'xhr'. I think it makes it easier to read. http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js On 6/7/07, Mike Alsup [EMAIL PROTECTED] wrote: I like this patch. Jörn? Brandon? John? Anyone? alternate encoding done cleanly... http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js a small patch allows escape (or other) instead of encodeURIComponent while localizing all calls to encodeURIComponent this patch seems to make the packed size of jQuery even smaller. $.pair is used in param (serialize) and can easily be overriden. as in $.pair = function(f,v) {return escape(f) + = + escape(v)}; $.ajax({ url: /test.cgi, data: {foo:'Jörn'}, success: function(){ console.log(arguments)} }) -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: encodeURIComponent localized for custom encoding
Another questionbefore to test it... I am using form prlugin to send the info as far I undestand if I put this patch in jquery the form plugion will mantain the new charset? On 10 jun, 19:53, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: keep me posted!! You may also need : ajaxSetup({contentType: application/x-www-form-urlencoded; charset=whatever charset you want to call it}) On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Oscar, you can play with the jQuery from my branch (not released, and just to try it... no guarantees!!) http://jqueryjs.googlecode.com/svn/branches/jake-dev/dist/ On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: oops! that's on the googlegroups site. On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: $.pair = function(f,v) {return escape(f) + = + escape(v)}; and all your 'get' parameters use the new encoding. If you care to test... I'll save up a full version on the escape is brain dead , as it won't work with the full range of UTF... but the classic hi-ascii chars seem to work.. I tested with a ö (only) On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: You are the man :-P In order to use it. then I only need add the js ¿? or I need to call a extra code!!! On 10 jun, 18:44, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Hey Oscar, You were the reason I wrote this patch!!! Plus I had no beautiful way to do non-utf encoding A couple people came up with other solutions, but I like mine best, and it shrinks the jQuery size a few bytes. On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: Hi I have a problem realted with charsets as you know. Could I use this code in order to fix my problem? On 10 jun, 06:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: http://dev.jquery.com/ticket/1289 On 6/9/07, Brandon Aaron [EMAIL PROTECTED] wrote: Be sure to add this to trac. -- Brandon Aaron On 6/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I also added to the patch renaming the parameter 'xml' and sometimes 'r' to 'xhr'. I think it makes it easier to read. http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js On 6/7/07, Mike Alsup [EMAIL PROTECTED] wrote: I like this patch. Jörn? Brandon? John? Anyone? alternate encoding done cleanly... http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js a small patch allows escape (or other) instead of encodeURIComponent while localizing all calls to encodeURIComponent this patch seems to make the packed size of jQuery even smaller. $.pair is used in param (serialize) and can easily be overriden. as in $.pair = function(f,v) {return escape(f) + = + escape(v)}; $.ajax({ url: /test.cgi, data: {foo:'Jörn'}, success: function(){ console.log(arguments)} }) -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] mouse icon clock when jblock.
I have popup message. In order to show it I use jBlock pluguin. The problem: The mouse Icon is the loading clock not the arrow only it is an arrow if the cursor is on a button. Are there any way to avoit it? Because seems that the message is not loaded completlly. PD: Sorry is the explanation is not good enought.
[jQuery] Re: block plugin
I have a strange behaviore: I block a page but when I try to unblock does't work HTML head /head body div id=cfgCartel ID_COD_EMP=%=session(cod_emp)% ID_CARTEL=id_test1 STYLE=position:absolute; top:0px; left:0px; width:1000px fieldset id=cfgCartelLoadFieldSet legend class=normalbtest/legend form action=/InmoFusion2/app/miOficina/cfgCartel/dPcfgCartel.asp method=post ID=FrmcfgCartel div id=cfgCartelLoad name=cfgCartelLoad/div brbr fieldset id=cfgCartelFieldSet_varios . . . After execute block, I inspect the DOM ... the block iframe is added just before of form node... On 6 jun, 19:49, oscar esp [EMAIL PROTECTED] wrote: You are the best On 6 jun, 18:22, Mike Alsup [EMAIL PROTECTED] wrote: Oscar, blockUI only blocks the document on which it is loaded. If you have code executing in your iframe and you want that code to block the parent document you need to call up through the parent: parent.$.blockUI(); Mike On 6/5/07,oscaresp[EMAIL PROTECTED] wrote: I use the block pluggin in my App. I have a Page with this structure: div /div div id=iframe iframe /div if I execute the blockUI action in the iframe content only blocks the iframe window... I would like to block the main window in order to block all the screen? Any idea¿?- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: block plugin
I will try to attach it, however the problem is the : fieldset id=cfgCartelLoadFieldSet legend class=normalbtest/legend I have delete this lines and then works fine... On 11 jun, 18:20, Mike Alsup [EMAIL PROTECTED] wrote: Do you have a sample page? On 6/11/07, oscar esp [EMAIL PROTECTED] wrote: I have a strange behaviore: I block a page but when I try to unblock does't work- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: encodeURIComponent localized for custom encoding
I will try!! On 10 jun, 19:53, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: keep me posted!! You may also need : ajaxSetup({contentType: application/x-www-form-urlencoded; charset=whatever charset you want to call it}) On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Oscar, you can play with the jQuery from my branch (not released, and just to try it... no guarantees!!) http://jqueryjs.googlecode.com/svn/branches/jake-dev/dist/ On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: oops! that's on the googlegroups site. On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: $.pair = function(f,v) {return escape(f) + = + escape(v)}; and all your 'get' parameters use the new encoding. If you care to test... I'll save up a full version on the escape is brain dead , as it won't work with the full range of UTF... but the classic hi-ascii chars seem to work.. I tested with a ö (only) On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: You are the man :-P In order to use it. then I only need add the js ¿? or I need to call a extra code!!! On 10 jun, 18:44, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Hey Oscar, You were the reason I wrote this patch!!! Plus I had no beautiful way to do non-utf encoding A couple people came up with other solutions, but I like mine best, and it shrinks the jQuery size a few bytes. On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: Hi I have a problem realted with charsets as you know. Could I use this code in order to fix my problem? On 10 jun, 06:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: http://dev.jquery.com/ticket/1289 On 6/9/07, Brandon Aaron [EMAIL PROTECTED] wrote: Be sure to add this to trac. -- Brandon Aaron On 6/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I also added to the patch renaming the parameter 'xml' and sometimes 'r' to 'xhr'. I think it makes it easier to read. http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js On 6/7/07, Mike Alsup [EMAIL PROTECTED] wrote: I like this patch. Jörn? Brandon? John? Anyone? alternate encoding done cleanly... http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js a small patch allows escape (or other) instead of encodeURIComponent while localizing all calls to encodeURIComponent this patch seems to make the packed size of jQuery even smaller. $.pair is used in param (serialize) and can easily be overriden. as in $.pair = function(f,v) {return escape(f) + = + escape(v)}; $.ajax({ url: /test.cgi, data: {foo:'Jörn'}, success: function(){ console.log(arguments)} }) -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: encodeURIComponent localized for custom encoding
Hi I have a problem realted with charsets as you know. Could I use this code in order to fix my problem? On 10 jun, 06:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: http://dev.jquery.com/ticket/1289 On 6/9/07, Brandon Aaron [EMAIL PROTECTED] wrote: Be sure to add this to trac. -- Brandon Aaron On 6/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I also added to the patch renaming the parameter 'xml' and sometimes 'r' to 'xhr'. I think it makes it easier to read. http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js On 6/7/07, Mike Alsup [EMAIL PROTECTED] wrote: I like this patch. Jörn? Brandon? John? Anyone? alternate encoding done cleanly... http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js a small patch allows escape (or other) instead of encodeURIComponent while localizing all calls to encodeURIComponent this patch seems to make the packed size of jQuery even smaller. $.pair is used in param (serialize) and can easily be overriden. as in $.pair = function(f,v) {return escape(f) + = + escape(v)}; $.ajax({ url: /test.cgi, data: {foo:'Jörn'}, success: function(){console.log(arguments)} }) -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: update input name
:-( Same result... if I inspect the name property using jquery(newdivetc) is updated howere the html is not updated On 6 jun, 15:19, Sam Collett [EMAIL PROTECTED] wrote: On Jun 6, 8:50 am,oscaresp[EMAIL PROTECTED] wrote: Thnaks... I have tryed: jQuery(#+inputID,addedItem).attr(id,newInputID); content1= jQuery(#+newInputID,addedItem)[0].outerHTML content1=content1.replace(inputID,newInputID) jQuery(#+newInputID,addedItem)[0].outerHTML = content1 But any result My use case: I have a div with inputs , I need to clone it , change all the id/ names and then insertAfert another div. Seems that there are not way to change the name. Another suggestion? I tried this and it seems to work fine for me (although not done any real in-depth testing(with different types of input etc) ): In $(document).ready var toclone = $(div.toclone); var cloned = toclone.clone().each( function() { // update input names $(:input, this).each( function() { this.name = this.name + 1; this.id = this.id + 1; } ) } ).insertAfter(div.afterme); HTML: div class=toclone Foo: input name=foo id=foo / Bar: input name=bar id=bar / /div div class=aftermeClone after this/div
[jQuery] Re: jQuery core charset???????????(please help!!!!me!)
Thanks.. however my project it is in asp :-( On 6 jun, 04:32, Rhapidophyllum [EMAIL PROTECTED] wrote: Perl Python are great at converting character sets. On Jun 5, 2007, at 4:00 PM, oscar esp wrote: I am trying to find some code to do the conversion... however I did get any thing right now On 4 jun, 21:37, Bil Corry [EMAIL PROTECTED] wrote: Mike Alsup wrote on 6/4/2007 8:15 AM: 2. Add support in the ASP page to convert UTF-8 into 8859. I don't know if this will help, but here's all the Windows-1252 chars and their UTF-8 equivalents: http://corry.biz/conversion_chart.html - Bil- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: update input name
Thnaks... I have tryed: jQuery(#+inputID,addedItem).attr(id,newInputID); content1= jQuery(#+newInputID,addedItem)[0].outerHTML content1=content1.replace(inputID,newInputID) jQuery(#+newInputID,addedItem)[0].outerHTML = content1 But any result My use case: I have a div with inputs , I need to clone it , change all the id/ names and then insertAfert another div. Seems that there are not way to change the name. Another suggestion? On 4 jun, 22:37, Jörn Zaefferer [EMAIL PROTECTED] wrote: oscarespwrote: I have a code to clone a input. After that I need to change the id and name it... seems that change id works fine but not the name: jQuery(#+inputID,addedItem).attr(id,newInputID); - works ok jQuery(#+inputID,addedItem).attr(name,newInputID); - seems doesn't work Any idea? http://jquery.bassistance.de/api-browser/#attrStringObject Note that you can't set the name property of input elements in IE. Use $(html) or .append(html) or .html(html) to create elements on the fly including the name property. Maybe that helps. -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: block plugin
You are the best On 6 jun, 18:22, Mike Alsup [EMAIL PROTECTED] wrote: Oscar, blockUI only blocks the document on which it is loaded. If you have code executing in your iframe and you want that code to block the parent document you need to call up through the parent: parent.$.blockUI(); Mike On 6/5/07, oscar esp [EMAIL PROTECTED] wrote: I use the block pluggin in my App. I have a Page with this structure: div /div div id=iframe iframe /div if I execute the blockUI action in the iframe content only blocks the iframe window... I would like to block the main window in order to block all the screen? Any idea¿?- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: jQuery core charset???????????(please help!!!!me!)
Any one knows some conversion dll or script or something I am desesperate!!! In order to refresh my problem: I have a asp page with iso-8859-1 wich recives a post in utf-8... I can not change teh code page neither the server header.. .I need to take the Resquest.queryString(var) and conver tto iso-8859-1 On 6 jun, 09:05, oscar esp [EMAIL PROTECTED] wrote: Thanks.. however my project it is in asp :-( On 6 jun, 04:32, Rhapidophyllum [EMAIL PROTECTED] wrote: Perl Python are great at converting character sets. On Jun 5, 2007, at 4:00 PM,oscarespwrote: I am trying to find some code to do the conversion... however I did get any thing right now On 4 jun, 21:37, Bil Corry [EMAIL PROTECTED] wrote: Mike Alsup wrote on 6/4/2007 8:15 AM: 2. Add support in the ASP page to convert UTF-8 into 8859. I don't know if this will help, but here's all the Windows-1252 chars and their UTF-8 equivalents: http://corry.biz/conversion_chart.html - Bil- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] block plugin
I use the block pluggin in my App. I have a Page with this structure: div /div div id=iframe iframe /div if I execute the blockUI action in the iframe content only blocks the iframe window... I would like to block the main window in order to block all the screen? Any idea¿?
[jQuery] Re: jQuery core charset???????????(please help!!!!me!)
I am trying to find some code to do the conversion... however I did get any thing right now On 4 jun, 21:37, Bil Corry [EMAIL PROTECTED] wrote: Mike Alsup wrote on 6/4/2007 8:15 AM: 2. Add support in the ASP page to convert UTF-8 into 8859. I don't know if this will help, but here's all the Windows-1252 chars and their UTF-8 equivalents: http://corry.biz/conversion_chart.html - Bil
[jQuery] Re: jQuery core charset???????????(please help!!!!me!)
Hi Mike, Then: There are not way to do a ajax call with charset iso8859¿? I can not add any header or something like that beforeSubmit in order to force iso8859 instead Of utf-8 ¿? My problem is I can not change the charset of asp pages which recives the ajax call. I feel a little bit idiot!!! On 3 jun, 19:28, Mike Alsup [EMAIL PROTECTED] wrote: I always recommend going full utf when you have this kind of problem... Same here. jQuery is only going to submit UTF-8 because it uses encodeURIComponent (as it should). If you need a different charset on the server then that's where you'll need to convert it. Mike
[jQuery] update input name
I have a code to clone a input. After that I need to change the id and name it... seems that change id works fine but not the name: jQuery(#+inputID,addedItem).attr(id,newInputID); - works ok jQuery(#+inputID,addedItem).attr(name,newInputID); - seems doesn't work Any idea?
[jQuery] Re: update input name
Sorry I did a mistake when I copied te code. I have the code like jQuery(#+inputID,addedItem).attr(id,newInputID); - works ok jQuery(#+newInputID,addedItem).attr(name,newInputID); - doens't work On 4 jun, 13:25, arnaud sellenet [EMAIL PROTECTED] wrote: If your code is exactly that (the two lines one after the other), this is normal the second one does not work, as $(#+inputID) does not exist anymore... Did you try this : jQuery(#+inputID,addedItem).attr(id,newInputID); jQuery(#+newinputID,addedItem).attr(name,newInputID); or jQuery(#+inputID,addedItem).attr(id,newInputID).attr (name,newInputID); ?
[jQuery] Re: jQuery core charset???????????(please help!!!!me!)
Many thanks!!! The problem is that my application is a old asp application and I can not change all the charsets... Are there any way to setup ajax (I think something like jQuery.ajax(...)) in order to set the charset to iso-8859-1 On 2 jun, 21:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: jQuery has no core character set, nor does JavaScript. When you don't specify it everywhere you get mixed sets. Your asp is getting utf-8, but you are expecting one of the ascii iso8859 sets. My advice is to use utf-8 everywhere and make sure you properly handle the utf-8 in your asp. You can also use your choice of the other sets... but that limits you to a certain fraction of the world's languages. On 6/2/07, oscar esp [EMAIL PROTECTED] wrote: I am doing some test and I have problems with specials chars... are there any way to define charset into jQueryCore? My code to post a form: main.asp . . script src=jquery.js/script script jQuery.noConflict(); /script script src=jquery.form.js/script body form id=test1 action=test2.asp method=get INPUT id=Text1 type=text name=Text1 INPUT id=td type=button onclick=saveTest(); value=Send name=Submit1 /form . . JavaScriptFunction: function saveTest() { var options = { beforeSubmit: preSubmitAgenda, // pre-submit callback success: postSubmitAgenda // callback }; jQuery(#test1).ajaxSubmit(options); } THE PROBLEM: 1)Execute the code 2) Into text Field I write : ú 3) click on button 4) in test2.asp (I get the request), when I check Request.QueryString(text1) value is =á -- instead of ú I think that problem is related with charset or something like that, because If i execute a normal form without ajaxsubmit i get the right value: ú I am not sure if problem is related with jQuery core or form plugin -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] jQuery core charset???????????(please help!!!!me!)
I am doing some test and I have problems with specials chars... are there any way to define charset into jQueryCore? My code to post a form: main.asp . . script src=jquery.js/script script jQuery.noConflict(); /script script src=jquery.form.js/script body form id=test1 action=test2.asp method=get INPUT id=Text1 type=text name=Text1 INPUT id=td type=button onclick=saveTest(); value=Send name=Submit1 /form . . JavaScriptFunction: function saveTest() { var options = { beforeSubmit: preSubmitAgenda, // pre-submit callback success: postSubmitAgenda // callback }; jQuery(#test1).ajaxSubmit(options); } THE PROBLEM: 1)Execute the code 2) Into text Field I write : ú 3) click on button 4) in test2.asp (I get the request), when I check Request.QueryString(text1) value is =á -- instead of ú I think that problem is related with charset or something like that, because If i execute a normal form without ajaxsubmit i get the right value: ú I am not sure if problem is related with jQuery core or form plugin
[jQuery] Print Preview
I would like to add a print preview funcionality to my web app. Any one knows a component to use it?
[jQuery] Re: Print Preview
. another question any way to print a div?
[jQuery] iframe question - frameReady plugin
Are there any way to pass a param (I need to pass a DIv object) from parent to the iframe child? My code: (iwould like to use newContent info) var newContent = jQuery(#containerDiv)[0].innerHTML jQuery.frameReady( function() { debugger; jQuery(#containerContent)[0].innerHTML = newContent; }, top.printContentIframe );
[jQuery] form pluggin bug?
I am using fieldSerialize: jQuery('#DB .HSCO').fieldSerialize(); In form DB I have 3 items: input type='checkbox' class='HSCO' id='HSCO_1' name='HSCO_1' value=1 /td input type='checkbox' class='HSCO' id='HSCO_2' name='HSCO_2' value=1 /td input type='checkbox' class='HSCO' id='HSCO_3' name='HSCO_3' value=1 /td if value is =1 then works fine however when value =0 (ex:HSCO_3) the item doesn't appear in the serialization: HSCO_1=1HSCO_2=1 Any workaround?
[jQuery] update check Box
I am trying to update a checkBox... using: jQuery(#HSFCO_1)[0].checked= true where input type='checkBox' class='HSFCO' id='HSFCO_1' checked='false However... the view is not update! Any suggestion?
[jQuery] consume click event
I need to change click event for each click I have nex code: function collapseSection(ID_SECCION) { jQuery(#HS_+ID_SECCION).bind(click,function() {expandSection(ID_SECCION);return false;}); } function expandSection(ID_SECCION) { jQuery(#HS_+ID_SECCION).bind(click,function() {collapseSection(ID_SECCION);return false;}); } Then I have a TD with click event: td click=loadDiv(1) function loadDiv(ID_SECCION) { jQuery(#HS_+ID_SECCION).bind(click,function() {collapseSection(ID_SECCION);return false;}); } Then If I execute and click on td first time begins a loop : collapseSection expandSection... Seems that click event is not consumed and then every time that I bind click the click is executed I don't know how stop the loop!!! Many thanks
[jQuery] tabs 2.7
1)I am using some plugins to build a page. 2)I am using jQuery.noConflict(); I have a a page that works fine using: validatorr, metada plugins. However when I use a tabs 2.7 plugin in order to load that page into a tab a error is produced Microsoft JScript runtime error: 'jQuery' is undefined any idea?
[jQuery] Re: validate plugin + form plugin + thickbox
I dont know if my problem has any relation (I am using form validate pluggin) - I have a form with a submit button. (Submit button call a asp page to save all fields) - I have next code: jQuery('#seccionesForm').submit(function() { var options = { beforeSubmit: preSubmitSeccion, // pre-submit callback success: postSubmitSeccion // post-submit callback }; jQuery(#seccionesForm).validate( { submitHandler: function(form) { jQuery(#seccionesForm).ajaxSubmit(options); return false; } }); } Then: First click on submit button : works nice. Second click on submit button: send the form twice 3 click: send form 3 times... Any idea why is send more than one time?
[jQuery] frameReady some time crash?
I have next code: jQuery.blockUI(); jQuery(iframe id='applicationIframe' onload='' src='+url+' marginwidth='1' marginheight='1' height='100%' width='100%' scrolling='no' border='0' frameborder='0' / ).appendTo(#aplicacion); jQuery.frameReady(function(){ var a=1;},top.applicationIframe,function() { autoresizeIFrame();jQuery.unblockUI() }); Where autoresizeIFrame: function autoresizeIFrame() { var the_height= document.getElementById('applicationIframe').contentWindow.document.body.scrollHeight; document.getElementById('applicationIframe').height= the_height; } Some times after load iframe , the function code (autoresize unBlock is not executed...) any idea? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups jQuery (English) group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~--~~~~--~~--~--~---
[jQuery] Re: CACHING FORM
I supose that I could do. On 2 mayo, 22:46, Jörn Zaefferer [EMAIL PROTECTED] wrote: oscar esp schrieb: I am using post with form pluggin. So how about switching to GET? -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: jQuery and EXT not working at all
Ups!! You was right!!! I did a spelling mistake!! many thanks! On 24 abr, 13:54, Juha Suni [EMAIL PROTECTED] wrote: I tested this and it works prefectly with IE7, FF and Opera. The error you are referring to would indicate that the dimensions-plugin is not loaded. Double-check that the url (script language=javascript src=dimension.js/script) points to the dimensions-plugin and it loads correctly. I'm 90% sure this is your problem, either wrong filename, directory or missing file altogether. HTH -- Suni oscar esp wrote: I have followed all steps however I got an error: Microsoft JScript runtime error: 'style' is null or not an object My code: html head link href=ext-1.0/resources/css/ext-all.css rel=stylesheet type=text/css / link href=ext-1.0/resources/css/ytheme-vista.css rel=stylesheet type=text/css / script src=/inmofusion2/libs_Ext/jquery/jquery.js type=text/ javascript/script script language=javascript src=dimension.js/script script language=javascript src=ext-1.0/adapter/jquery/ext-jquery- adapter.js/script script language=javascript src=ext-1.0/ext-all.js/script /head body a href=# id=wheelinkWhee Click me Click me!/a script $(document).ready(function(){ $('#wheelink').bind('click',function() { Ext.Msg.alert('Whee alert!', 'Thanks for clicking me, WHEE!'); }); }); /script /body- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: jQuery and EXT not working at all
I have followed all steps however I got an error: Microsoft JScript runtime error: 'style' is null or not an object My code: html head link href=ext-1.0/resources/css/ext-all.css rel=stylesheet type=text/css / link href=ext-1.0/resources/css/ytheme-vista.css rel=stylesheet type=text/css / script src=/inmofusion2/libs_Ext/jquery/jquery.js type=text/ javascript/script script language=javascript src=dimension.js/script script language=javascript src=ext-1.0/adapter/jquery/ext-jquery- adapter.js/script script language=javascript src=ext-1.0/ext-all.js/script /head body a href=# id=wheelinkWhee Click me Click me!/a script $(document).ready(function(){ $('#wheelink').bind('click',function() { Ext.Msg.alert('Whee alert!', 'Thanks for clicking me, WHEE!'); }); }); /script /body
[jQuery] Form plugin: Add new param in pre action.
I would like to add a new param in preactio function preSubmit(formData, jqForm, options) { ADD PARAM - METHOD= update return true; } How ever i don't know the best way to do it. Any recomendation?
[jQuery] Re: Form plugin: Add new param in pre action.
Thanks! On 23 abr, 12:06, Mike Alsup [EMAIL PROTECTED] wrote: Try this: formData.push({ name: METHOD, value: update }); I would like to add a new param in preactio function preSubmit(formData, jqForm, options) { ADD PARAM - METHOD= update return true; }- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: ajax call to load iframe
I was trying to understant how can use it for my porpupose but I didn't get any solution My problem is : - I have a main page which contains a iframe - That main page contain some buttons. Each button should load a html page into the iframe. In order to load the html page i would like to use ajax call and blockui plugin like: onclick= blockUI() ajax call to load html into iframe unblock Any clue? On 22 abr, 04:26, Daemach2 [EMAIL PROTECTED] wrote: http://www.nabble.com/Plugin%3A-frameReady-updated.--Now-with-better-... You could try frameReady: http://ideamill.synaptrixgroup.com/?p=6 oscar esp wrote: I did some test in order to load div using ajax call: jQuery.ajax({ type: get, url: Purl+separator+new Date().getTime() , async: true, dataType: html, success: function(data) { jQuery(#+fTarget).get()[0].innerHTML=data; } }); However I don't know how load content into iFrameusing ajax call. Anyone could help me? -- View this message in context:http://www.nabble.com/ajax-call-to-load-iframe-tf3622584s15494.html#a... Sent from the JQuery mailing list archive at Nabble.com.- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: iFrame Content Update
I found the solution jQuery(#+divTarget).get() [0].contentWindow.self.document.body.innerHTML=data;
[jQuery] change CSS
Are any way to set the stylesheet like: link rel=stylesheet href=/Inmo/libs_Ext/jquery/css/intranet.css type=text/css media=screen in runtinme?
[jQuery] Question about BlockUI Plugin.
I am trying to use it, but the wainting message does't appear align into the center. Is it use a css? Where could get it? Thanks.
[jQuery] iFrame Content Update
I would like to update iFrame content with ajax call result like: jQuery.ajax({ type: get, url: url , async: true, dataType: html, success: function(data) { jQuery(#iframeTarget).get()[0].innerHTML=data; jQuery.unblockUI(); } }); But I don't how update the content: jQuery(#iframeTarget).get()[0].innerHTML=data; It works for a div but not for a Iframe. Any one could help me?
[jQuery] Re: Question about BlockUI Plugin.
Thanks!!! It works fine. Do you know if it is posible to use something like: link rel=stylesheet href=/InmoFusion2/libs_Ext/jquery/css/ thickboxCmp.css type=text/css media=screen instead of change the CSS using defaults? Thanks On 17 abr, 13:58, Mike Alsup [EMAIL PROTECTED] wrote: Oscar, You can customize the CSS by overriding values in the the defaults object. Details are available here:http://www.malsup.com/jquery/block/#override Mike I am trying to use it, but the wainting message does't appear align into the center. Is it use a css? Where could get it?- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Some questions about tables and translator cmp
Hello, I have two questions: - Are there any table plugin which implement: sort pagination options? - I would like to add in my web site a component like: http://translate.parish.ath.cx/ Anyone know a open source component like this?... It will be nice to have a jQuery plugin like this!!! Many thanks!!!