[jQuery] [Chrome, Safari 3] Problem with Tabs plug-in loaded dynamically
Hi, I've got following problem with UI plugin loaded dynamically on page. Whole application works fine on FF, Opera and IE. Unfortunately problem occurs in Chrome and Safari. I've got some master page with menu, and I'm loading new pages on click event using following code: $('#menuwelcome').click(function() { $.post("welcome.aspx", function(data) { $("#load").hide (); $("#load").html(data).fadeIn("slow"); }); }); Page is loaded into div on master page. In this loaded page, I've got code which is creating tabs from list items. In IE, FF and Opera, page is loaded and after that UI Tabs are creating tabs. In Chrome and Safari page content is just loaded, but nothing else happen. It's only showing list of items and that's all. Code which is creating tabs: $(document).ready(function() { $("#welcome").tabs(); }); Willkommen Unser Profil Any ideas why it's not working in these 2 browsers?
[jQuery] Skype toolbar in IE7 is crashing jQuery Tabs plugin
Hi! I didn't suspect that it will cause problems, but found that Skype plugin is pasting some JS code into ready page and it search for number which are telephone like. Unfortunately when it matches, it is pasting js code. When tab is changed and I'm returning to the same page tab content is pasted second time in this tab. When I'm doing that again it's pasted third time... It's only happening on tabs on which this toolbar found telephone number. Do you know some workaround or solution for that?
[jQuery] Re: Skype toolbar in IE7 is crashing jQuery Tabs plugin
Hahahaha, yes and I'll say that to all my users :] On Jun 3, 3:58 pm, MorningZ wrote: > "uninstall the Skype crap" doesn't seem like an obvious answer? > > On Jun 3, 9:48 am, "r1u0...@gmail.com" wrote: > > > Hi! > > > I didn't suspect that it will cause problems, but found that Skype > > plugin is pasting some JS code into ready page and it search for > > number which are telephone like. > > Unfortunately when it matches, it is pasting js code. When tab is > > changed and I'm returning to the same page tab content is pasted > > second time in this tab. When I'm doing that again it's pasted third > > time... It's only happening on tabs on which this toolbar found > > telephone number. > > > Do you know some workaround or solution for that?
[jQuery] Re: Skype toolbar in IE7 is crashing jQuery Tabs plugin
WW :] If you were a girl I'll kiss you :D Thank you very much for this help :] On Jun 3, 4:25 pm, "Jonathan Vanherpe (T & T NV)" wrote: > adding the following meta tag should disable it: > > got it from:http://lenss.nl/2009/03/disable-skype-icons-on-a-website/(I > didn't test > it myself) > > Having them uninstall the extension would be the best option, though ;) > > Jonathan > > > > r1u0...@gmail.com wrote: > > Hahahaha, yes and I'll say that to all my users :] > > > On Jun 3, 3:58 pm, MorningZ wrote: > >> "uninstall the Skype crap" doesn't seem like an obvious answer? > > >> On Jun 3, 9:48 am, "r1u0...@gmail.com" wrote: > > >>> Hi! > >>> I didn't suspect that it will cause problems, but found that Skype > >>> plugin is pasting some JS code into ready page and it search for > >>> number which are telephone like. > >>> Unfortunately when it matches, it is pasting js code. When tab is > >>> changed and I'm returning to the same page tab content is pasted > >>> second time in this tab. When I'm doing that again it's pasted third > >>> time... It's only happening on tabs on which this toolbar found > >>> telephone number. > >>> Do you know some workaround or solution for that? > > -- > Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
[jQuery] Safari and Chrome code execution problem
Hi, I'm developing with jQuery quite long right now, but recently I spotted one big problem with execution of jQuery code in Safari and Chrome. So everything is working fine in these browsers until jQuery code is placed in one page. But when using for example tabs plug-in loaded with ajax and on this loaded page exists some extra jQuery code it isn't executed. Co page is loaded but nothing is happening with code which was included. This problem doesn't exists in IE, FF or Opera. It appears only in Safari and Chrome. The same problem is when I'm loading page with $.get, $.post or $.ajax query. So it doesn't affect tabs plug-in but overall functionality. I was checking that with latest versions of jQuery and UI today. Does anyone know solution for this problem? Cheers Radek
[jQuery] Re: Safari and Chrome code execution problem
Anyone knows an answer? :) On Jun 9, 2:21 pm, "r1u0...@gmail.com" wrote: > Hi, > > I'm developing with jQuery quite long right now, but recently I > spotted one big problem with execution of jQuery code in Safari and > Chrome. So everything is working fine in these browsers until jQuery > code is placed in one page. > > But when using for example tabs plug-in loaded with ajax and on this > loaded page exists some extra jQuery code it isn't executed. Co page > is loaded but nothing is happening with code which was included. > > This problem doesn't exists in IE, FF or Opera. It appears only in > Safari and Chrome. The same problem is when I'm loading page with > $.get, $.post or $.ajax query. So it doesn't affect tabs plug-in but > overall functionality. > > I was checking that with latest versions of jQuery and UI today. > > Does anyone know solution for this problem? > > Cheers > Radek
[jQuery] Re: Safari and Chrome code execution problem
Anyone? On Jun 11, 2:53 am, matthewpavkov wrote: > I'm also looking for a solution to a similar problem I'm having. > > I'm using Facebox to load modal popups. Then, using jquery, I'm > swaping before/after images when you hover over the image which is > loaded in the modal popup. Everything works fine except for the before/ > after hover effect. This works in all tested browsers except Safari > and Chrome. It looks like Safari may not even be executing the code. I > did a try/catch with a simple jquery line, and I don't get the error, > but I also don't get the effect. > > Anyone know what to do?
[jQuery] Selecting value from html
Hello! I've got some question: I've got variable 'tr' which contains html from table row. How I can read text from second tag. This tag contains _colid=2 attribute. I was trying to do something like that: $(tr ':'td:(eq(2))').text(); but it's not working.
[jQuery] Selecting value from html
Hello! I've got some question: I've got variable 'tr' which contains html or text from table row. How I can read text from second tag. This tag contains _colid=2 attribute. I was trying to do something like that: $(tr ':'td:(eq(2))').text(); but it's not working. Cheers Radek
[jQuery] [AJAX] Problem with loading jquery through ajax
Hi, I've got master page with menu. When I click on menu option new page should be loaded (quite normal :P). I'm trying to do that using: $.post("hotline.aspx", function(data) { $("#load").html(data); }); And div "load" is populated with html, but it seems like it isn't executed (there is f.e. jquery.js included, it's loaded - I've checked with firebug - but it isn't executed). When I open hotline.aspx in new window, everything is ok, but when from master page - fail. I was trying to do that with get, $.ajax, load, post but nothing is changed. Should I fire some additional function after load completed? Regards Radek
[jQuery] Problem with loading page through ajax
Hi, I've got problem with loading new page through ajax like that: $.post("hotline.aspx", function(data) { $("#load").html(data); }); I was also trying with functions get, $.ajax, load, unfortunately it's not working. It's loading html correctly, but it seems like it's not executed or interpreted. I'm loading through that page with jquery code (tabs) and it's totally not working. Should I fire some additional event after load, that this code will be interpreted correctly? I would like to achieve similar loading like it's made in tabs ajax loading (http://jqueryui.com/demos/tabs/). Anyone knows solution for that? Cheers Radek
[jQuery] Execute function in parent window
Hi, I've got question. I'm opening a new javascript window after clicking on button. On parent page I've got some jquery stuff. Is it possible to execute some function on parent site when new window was closed or by clicking the button in new window? Cheers Radek
[jQuery] Re: Execute function in parent window
And how can I determinate name opening window? On Feb 17, 3:53 pm, Hernando Gisinger wrote: > opener.function_name(); > > cheers > > 2009/2/17 r1u0...@gmail.com > > > > > Hi, > > > I've got question. > > I'm opening a new javascript window after clicking on button. On > > parent page I've got some jquery stuff. Is it possible to execute some > > function on parent site when new window was closed or by clicking the > > button in new window? > > > Cheers > > Radek
[jQuery] Re: Problem with loading page through ajax
It is showing correct html, exactly which I'm expecting, but it seems it's not executed. I was also trying to specify type of transmission for html, but it's not working. http://www.w3.org/1999/xhtml";> $(function() { // Tabs $('#tabs').tabs(); }); Neue Vorgänge Aktive Vorgänge Abgeschlossene Vorgänge On Feb 17, 4:29 pm, Beres Botond wrote: > If you put alert(data) in the function, what exactly does it show? > > Also you could try specifying the data type like: > > $.post("hotline.aspx", function(data) { $("#load").html(data); }, > "html"); > > On Feb 17, 3:32 pm, "r1u0...@gmail.com" wrote: > > > Hi, > > > I've got problem with loading new page through ajax like that: > > $.post("hotline.aspx", function(data) { $("#load").html(data); }); > > I was also trying with functions get, $.ajax, load, unfortunately it's > > not working. It's loading html correctly, but it seems like it's not > > executed or interpreted. > > I'm loading through that page with jquery code (tabs) and it's totally > > not working. > > > Should I fire some additional event after load, that this code will be > > interpreted correctly? I would like to achieve similar loading like > > it's made in tabs ajax loading (http://jqueryui.com/demos/tabs/). > > > Anyone knows solution for that? > > > Cheers > > > Radek
[jQuery] Re: Execute function in parent window
So it should be so? Please correct me if I'm wrong: parent = window.open(child); then in child window parent.function(); ??? If so, how can I pass the parent id to new window? Cheers Radek On Feb 17, 5:47 pm, Hernando Gisinger wrote: > The *opener* property returns a reference to the window that created the > window. > > 2009/2/17 r1u0...@gmail.com > > > > > And how can I determinate name opening window? > > > On Feb 17, 3:53 pm, Hernando Gisinger wrote: > > > opener.function_name(); > > > > cheers > > > > 2009/2/17 r1u0...@gmail.com > > > > > Hi, > > > > > I've got question. > > > > I'm opening a new javascript window after clicking on button. On > > > > parent page I've got some jquery stuff. Is it possible to execute some > > > > function on parent site when new window was closed or by clicking the > > > > button in new window? > > > > > Cheers > > > > Radek
[jQuery] Re: Execute function in parent window
Ag, sorry I misunderstood you :) On Feb 19, 8:47 am, "r1u0...@gmail.com" wrote: > So it should be so? Please correct me if I'm wrong: > > parent = window.open(child); > > then in child window parent.function(); ??? > > If so, how can I pass the parent id to new window? > > Cheers > > Radek > > On Feb 17, 5:47 pm, Hernando Gisinger wrote: > > > The *opener* property returns a reference to the window that created the > > window. > > > 2009/2/17 r1u0...@gmail.com > > > > And how can I determinate name opening window? > > > > On Feb 17, 3:53 pm, Hernando Gisinger wrote: > > > > opener.function_name(); > > > > > cheers > > > > > 2009/2/17 r1u0...@gmail.com > > > > > > Hi, > > > > > > I've got question. > > > > > I'm opening a new javascript window after clicking on button. On > > > > > parent page I've got some jquery stuff. Is it possible to execute some > > > > > function on parent site when new window was closed or by clicking the > > > > > button in new window? > > > > > > Cheers > > > > > Radek
[jQuery] Way of code execution?
Hi, I've got following code: var tr; function updateNummbers(typ) { var ret = ""; $.ajax({ type: "POST", url: "DFWebService.asmx/getNummbers", dataType: "text", data: "typ=" + typ, processData: false, error: function(XMLHttpRequest, textStatus, errorThrown) { ajaxError(XMLHttpRequest, textStatus, errorThrown); }, success: function(xml) { ret = $(xml.replace(// g, ">")).find('anzahl').text(); tr = ret; alert(tr); // OK alert(ret); // OK } }); alert(ret); // VALUE "" } updateNummbers('new'); alert(tr); // NO VALUE it is placed in $(document).ready( function() { I don't know why the value of updated variable tr outside function updateNummbers don't exists. In alert inside this function value is ok, but then I put alert after the function values are not correct. The same situation is for variable ret. Can anyone explain that to me?
[jQuery] Compatibility problem?
Hi, I've got some code which is working fine in FF3, Opera 9 and IE8 (!). But it's not working in IE6/7. What could be a problem? $(document).ready(function() { $.ajax({ type: "POST", dataType: "text", processData: false, url: "./DFWebService.asmx/checkLoginTyp", data: "", success: function(data) { var ret = "#"; ret += $(data.replace(// g, ">")).text(); $(ret).attr("checked", "checked"); $(".login").removeAttr("disabled"); } }); }); On the website there are 2 radiobuttons with id and I'm receiving this id from web service. I've checked and I'm receiving it correctly, but it's not marking any at all. And also it's not removing attribute disabled from them. This problem occurs only in IE7 in other browser everything is ok.
[jQuery] Re: Compatibility problem?
H, I've made some investigation with Fiddler tool and Firebug and required data are transferred correctly, but when I'm making alert (ret); I don't have received value in this variable :/ But it's only in ie6/7 Any ideas? On Feb 27, 11:16 am, "r1u0...@gmail.com" wrote: > Hi, > I've got some code which is working fine in FF3, Opera 9 and IE8 (!). > But it's not working in IE6/7. > > What could be a problem? > > $(document).ready(function() { > > $.ajax({ > type: "POST", > dataType: "text", > processData: false, > url: "./DFWebService.asmx/checkLoginTyp", > data: "", > success: function(data) { > > var ret = "#"; > ret += $(data.replace(/</g, "<").replace(/>/ > g, ">")).text(); > $(ret).attr("checked", "checked"); > $(".login").removeAttr("disabled"); > } > }); > > }); > > On the website there are 2 radiobuttons with id and I'm receiving this > id from web service. > I've checked and I'm receiving it correctly, but it's not marking any > at all. And also it's not removing attribute disabled from them. > This problem occurs only in IE7 in other browser everything is ok.
[jQuery] Re: Compatibility problem?
Ok, problem is with function .text(); I'm receiving xml string, something like that: http://192.168.2.3:81/WebService.asmx";>ohne And function text() is not returning value from inside. Do you know solution or workaround? On Feb 27, 11:28 am, "r1u0...@gmail.com" wrote: > H, I've made some investigation with Fiddler tool and Firebug and > required data are transferred correctly, but when I'm making alert > (ret); I don't have received value in this variable :/ But it's only > in ie6/7 Any ideas? > > On Feb 27, 11:16 am, "r1u0...@gmail.com" wrote: > > > Hi, > > I've got some code which is working fine in FF3, Opera 9 and IE8 (!). > > But it's not working in IE6/7. > > > What could be a problem? > > > $(document).ready(function() { > > > $.ajax({ > > type: "POST", > > dataType: "text", > > processData: false, > > url: "./DFWebService.asmx/checkLoginTyp", > > data: "", > > success: function(data) { > > > var ret = "#"; > > ret += $(data.replace(/</g, "<").replace(/>/ > > g, ">")).text(); > > $(ret).attr("checked", "checked"); > > $(".login").removeAttr("disabled"); > > } > > }); > > > }); > > > On the website there are 2 radiobuttons with id and I'm receiving this > > id from web service. > > I've checked and I'm receiving it correctly, but it's not marking any > > at all. And also it's not removing attribute disabled from them. > > This problem occurs only in IE7 in other browser everything is ok. > >
[jQuery] Re: Compatibility problem?
Ok, solution found. Function text() is not working correctly in IE6/7 with string when there is no proper html tags. To fix passed value need to be saved in tag: value or something else. On Feb 27, 11:43 am, "r1u0...@gmail.com" wrote: > Ok, problem is with function .text(); > > I'm receiving xml string, something like that: > > > http://192.168.2.3:81/WebService.asmx";>ohne > > And function text() is not returning value from inside. Do you know > solution or workaround? > > On Feb 27, 11:28 am, "r1u0...@gmail.com" wrote: > > > H, I've made some investigation with Fiddler tool and Firebug and > > required data are transferred correctly, but when I'm making alert > > (ret); I don't have received value in this variable :/ But it's only > > in ie6/7 Any ideas? > > > On Feb 27, 11:16 am, "r1u0...@gmail.com" wrote: > > > > Hi, > > > I've got some code which is working fine in FF3, Opera 9 and IE8 (!). > > > But it's not working in IE6/7. > > > > What could be a problem? > > > > $(document).ready(function() { > > > > $.ajax({ > > > type: "POST", > > > dataType: "text", > > > processData: false, > > > url: "./DFWebService.asmx/checkLoginTyp", > > > data: "", > > > success: function(data) { > > > > var ret = "#"; > > > ret += $(data.replace(/</g, "<").replace(/>/ > > > g, ">")).text(); > > > $(ret).attr("checked", "checked"); > > > $(".login").removeAttr("disabled"); > > > } > > > }); > > > > }); > > > > On the website there are 2 radiobuttons with id and I'm receiving this > > > id from web service. > > > I've checked and I'm receiving it correctly, but it's not marking any > > > at all. And also it's not removing attribute disabled from them. > > > This problem occurs only in IE7 in other browser everything is ok. > >