[jQuery] Re: Chrome compatibility problem (form submit button value not sent)
I have the same problem using jQuery 1.3.2 and Chrome 2.0.172.39. So my site is broken :( On Jul 30, 3:29 pm, Hardip wrote: > http://www.globalautohits.com/test/jquery-test.html > > Tested it in Opera, FF 3.5 - there, the result shows that the submit > button was sent too. however, in Chrome, it is not sent. > > It even works in IE8 (sic), didn't test lower versions. > > might be a Chrome bug, but since jQ should be cross-browser and work > the same everywhere, then Chrome could do with a workaround or smth.
[jQuery] Re: Star rating plugin problems
I can confirm that this has solved my problem. Thanks, Diego! - Philip On Mar 18, 1:27 pm, "Diego A." wrote: > This issue has been resolved. Please download the latest version of > the plugin: > This is an old issue which has been resolved. Please download the > latest version of the plugin:http://www.fyneworks.com/jquery/star-rating/ > > On Jan 29, 6:44 pm, "matthias.otto...@googlemail.com" > > wrote: > > Hi Philip, > > > I have exactly the same problem. Browser independent. JQuery 1.3.1 and > > Star Rating 2.61 (as of January 23, 2009). > > > Also does: > > > > > > > > > > > > > > ... lead to: star-off, star-off, star-on, star-off, star-off - again > > happening in a container injected through AJAX. > > > Thanks, > > > Matt > > > On Dec 7 2008, 9:23 pm, Philip Garrett > > wrote: > > > > Hi, > > > > I'm using the latest available version of thestarratingplugin from > > > fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery > > > 1.2.6. > > > > I'm having a few problems when using thestarratings with ajax. My > > > ajax form actually replaces the div that contains the stars widget > > > with a fresh one that represents the changedrating. > > > > After replacing the widget with $("#container").html(...), these > > > problems start: > > > 1. The cancel button disappears > > > 2. Mouseovers on the stars stop working until you click anotherstar > > > 3. Mouseovers get stuck (especially when mousing off rightwards) > > > 4. This error will eventually happen: 'elem.parentNode is > > > null' [jquery-1.2.6.js (line 1259)] > > > > I've put together a quick example of the problems > > > here:http://www.pgarrett.net/stars/ > > > > Any help you can offer is appreciated. > > > > Thanks, > > > Philip
[jQuery] Re: IE no error tracking, jquery not working
I believe I have a similar problem! Seriously bugging me out… probably not the answer you where looking for though :) I managed to find what it is IE doesn't like: append: function() { return this.domManip(arguments, true, function(elem){ if (this.nodeType == 1) this.appendChild( elem ); }); }, more specifically "this.appendChild( elem );" Line 255 jQuery 1.3.2 My JS: jQuery(function() { $("#loadData").click(function () { $(this).text("...Hämtar adress..."); $("#AJAX").append('') .children("#adress").hide() .load("php/get_addr_php.php?pno=" + document.form.pno.value, function () { $("#adress").slideDown("slow"); }); $.get("php/get_addr_xml.php?pno=" + $("input#pno").val(), function (data) { var persInfo = data.split(";"); $("input#fname").val(persInfo[0]); $("input#lname").val(persInfo[1]); $("input#street").val(persInfo[2]); $("input#postno").val(persInfo[3]); $("input#city").val(persInfo[4]); }); return false; }); $("#add").click(function () { $(this).text("...Laddar beställlningsstatus..."); $("#formStatus").append('') .children("#status").hide() .load("php/sendOrder.php?pno=" + $("input#pno").val() + "&Epost=" + $("input#Epost").val() + "&qty=" + $("input#qty").val(), function () { $("#status").slideDown("slow"); }); return false; }); }); I'll debug some more tomorrow and get back… sleep :) On Mar 2, 6:35 am, frodosghost wrote: > From what I have seen, I have run into a fun error to get. It seems > that something to do with my jquery is breaking IE, but I cannot find > out what it is. So far the code works fine in every other browser, > except IE. Of course, to make it more confusing, jquery on some > previous pages does work, just when we get here some conflict occurs > and nothing works. > > So, I guess first question, does anyone have a way to debug IE > excecuted jquery? Something like Firebug for IE? > > Secondly, I have some code here which is the one failing - I guess the > easy way for me is just to ask, and see what you guys say. Obviously > it is annoying... Any help would be appreciated. > > $(document).ready(function(){ > $.variables = {}; > $('[id^=credit]').change(function() { > $.variables = {thing : this}; > var thing = this; > $.ajax({ > type: "POST", > url: "/credits/edit", > data: $(this).serialize(), > beforeSend: function(){ > $( "#" + $([$.variables.thing]).attr('id')).append(' id="savespin" src="/images/ajax-loader.gif" />'); > }, > success: function(html) { > $( "#" + $([$.variables.thing]).attr('id')).append(html).hide > ().fadeIn(1500); > $( ".F" + $([$.variables.thing]).attr('id')).append(html); > $( "." + $([$.variables.thing]).attr('id')).fadeIn(1500); > }, > complete: function(){ > $("#savespin").remove(); > } > }); > }); > > $('[id^=UserId]').change(function() { > if($('#UserId :selected').val() == 'Add'){ > $.variables = {newUser : ' value=" Their full name..." maxlength="128" id="UserFullname" > type="text"> onfocus="this.value=\'\'; this.onfocus=null;" value=" Their email > address..." maxlength="128" id="UserEmail" type="text">'}; > $("#newAssoc").append($.variables.newUser); > } else { > $("#newAssoc").empty(); > } > }); > > $('[class^=Fcredit]').change(function() { > $.variables = {JobTitle : this}; > $.ajax({ > type: "POST", > url: "/credits/add_tag", > data: $(this).serialize(), > beforeSend: function(){ > $( "." + $([$.variables.JobTitle]).attr('id') ).find > (".submitter").empty().append(''); > }, > success: function(html) { > }, > complete: function(){ > //$("#savespin").remove(); > $( "." + $([$.variables.JobTitle]).attr('id') ).find > (".submitter").empty().append(''); > } > }); > }); > > > > });
[jQuery] Re: Star rating plugin problems
Bump On Dec 7, 11:23 pm, Philip Garrett wrote: > Hi, > > I'm using the latest available version of the star rating plugin from > fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery > 1.2.6. > > I'm having a few problems when using the star ratings with ajax. My > ajax form actually replaces the div that contains the stars widget > with a fresh one that represents the changed rating. > > After replacing the widget with $("#container").html(...), these > problems start: > 1. The cancel button disappears > 2. Mouseovers on the stars stop working until you click another star > 3. Mouseovers get stuck (especially when mousing off rightwards) > 4. This error will eventually happen: 'elem.parentNode is > null' [jquery-1.2.6.js (line 1259)] > > I've put together a quick example of the problems > here:http://www.pgarrett.net/stars/ > > Any help you can offer is appreciated. > > Thanks, > Philip
[jQuery] Star rating plugin problems
Hi, I'm using the latest available version of the star rating plugin from fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery 1.2.6. I'm having a few problems when using the star ratings with ajax. My ajax form actually replaces the div that contains the stars widget with a fresh one that represents the changed rating. After replacing the widget with $("#container").html(...), these problems start: 1. The cancel button disappears 2. Mouseovers on the stars stop working until you click another star 3. Mouseovers get stuck (especially when mousing off rightwards) 4. This error will eventually happen: 'elem.parentNode is null' [jquery-1.2.6.js (line 1259)] I've put together a quick example of the problems here: http://www.pgarrett.net/stars/ Any help you can offer is appreciated. Thanks, Philip
[jQuery] A plugin registry?
Hi, When I use JQuery often I need to use plugins. What annoys me slightly is I have to download each one and put in some arbitrary place in my directory. This process is a bit slow, find plugin, download it, add script tag, and use. It would be really good if there was a central place where JQuery plugins could be loaded from dynamically like Google provides for JQuery. google.load("jquery", "1"); If there was some registry feature then I could do something like jqueryPlugins.load("pluginname"); Then it could pull the right javascript down. Anyone got thoughts on how this could be done? Philip
[jQuery] jEditable and .load
I have a bit of code that uses jEditable to do inline editing of the content. An additional jEditable content block appears just below the last entry to allow for more data to be entered. Here is the issue: I need to refresh the div that this information is contained in. If I use .load, the content is not editable. I have even created some static HTML in a separate file, used .load to import it, but editable regions are not active. Has anyone else ran into this issue. Any help would be appreciated.
[jQuery] IE7 accordion bug with images
I've set up an accordion style interface featuring text and images inside the collapsing content, this works fine in IE6, FF and Safari but IE7 seems to have problems with it, if the content isn't set to .hide() then it will display, but as soon as it's collapsed/ expanded again the problem arises. Any clues what kind of fix is needed? example of bug: http://ppe.philipspence.com/?page=property&subNav=rental Any help is appreciated.
[jQuery] How can I access methods of an applet element using jQuery?
Hi all, I have some problem using methods of an applet element when I use jQuery syntax. How can I solve this problem? Please refer to the following source code: // addValues() is a method defined in AppletXYLine.class returnValue = document.getElementById("ch01").addValues(strValue); // this works well returnValue = $("#ch01").addValues(strValue); // doesn't work Thanks, Philip
[jQuery] Finding a matching class to a variable
Hi there, Here is my conundrum, im trying select a div whos class matches that of a variable ($i) so that I can then apply an effect to it. The div actually has two classes attached to it but only 1 matches the variable (if that makes sense). I've tried such things as $ ("div[class*=$i]") amongst other things but haven't had any luck. I'm still pretty new to jQuery but managing to get my head around the basics at least. Any help/pointers would be greatly appreciated. Philip
[jQuery] Re: Graph plot
[EMAIL PROTECTED] wrote: Is there any Graph plugins for jQuery, or do I need to develop it on my own? =) I've tried to google it for some time now... Any ideas? I would like to be able to plot simple graphs and diagrams... Have a look here - you have to pay for it though but it is really good http://www.ejschart.com/ Cheers Phil
[jQuery] $.blockUI()
is there some way to reference a element, not html code, and have the orignal element not be removed. currently when you call say $.blockUI($('#modal')); it removed #modal from the DOM, is there some kind of option to turn this off? and posibly just make that element invisible or not displayed?