[jQuery] Superfish display:none
I don't want the menus to display none because of screen-readers. Where can I change this? I searched the code but I find nowhere that says anything about display:none. Thanks
[jQuery] Can i use selector to reach "slice" in jQuery 1.3?
I remember i can use the statement "jQuery('.button:eq(1):lt(3)');" in jQuery 1.2.6. example: <html> <body> <a href="#" class="button">button1</a> <a href="#" class="button">button2</a> <a href="#" class="button">button3</a> <a href="#" class="button">button4</a> <a href="#" class="button">button5</a> </body> <html> It returned matched button results from button2 to button4. But now it only returned button2 element in jQuery 1.3. So the selector statement like this can't chain filters??
[jQuery] Can i use selector to reach "slice" in jQuery 1.3?
I remember i can use the statement "jQuery('.button:eq(1):lt(3)');" in jQuery 1.2.6. example: <html> <body> <a href="#" class="button">button1</a> <a href="#" class="button">button2</a> <a href="#" class="button">button3</a> <a href="#" class="button">button4</a> <a href="#" class="button">button5</a> </body> <html> It returned matched button results from button2 to button4. But now it only returned button2 element in jQuery 1.3. So the selector statement like this can't chain filters??
[jQuery] Superfish IE7 Issue
Hello all, I'm working on a website for a client, I'm using the <a href="http://users.tpg.com.au/j_birch/plugins/superfish/">Superfish</ a> menu. I've got the menu working on all browsers except IE7 which has a strange little bug. When you mouseover the menu the first time, it works fine, but from then on when you move from one menu button to another, it "flashes" the menu horizontally, then corrects itself. Wondering if you guys are seeing this too, and if you have any ideas on how to fix it...
[jQuery] how to access "checked" attribute on a toggle
This is incredibly basic, but I'm missing something. I have this html: <input class="show_tog" type="checkbox" checked="" name="tog_0"/> I want to find the toggle and get the value of checked. I have tried the following, but nothing works: alert ($("#tog_0").attr("checked")); alert ($("#tog_0").checked); both give me undefined. $("#tog_0") is giving me an object. What am I missing? -- Chris
[jQuery] [autocomplete] onItemSelect function not running
I’m using the autocomplete plugin 1.0.2 from http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ and have got it mostly running smoothly, but I’m having problems with the onItemSelect option. It doesn’t seem to run. I cannot find any reference to onItemSelect within jquery.autocomplete.js, however, it does exist in previous/other authors versions. Perhaps an additional library, such as jQueryUI, is needed to enable it? The function and initialisation follow (note: I’m not particularly
[jQuery] [autocomplete] onItemSelect function not running
I’m using the autocomplete plugin 1.0.2 from http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ and have got it mostly running smoothly, but I’m having problems with the onItemSelect option. It doesn’t seem to run. I cannot find any reference to onItemSelect within jquery.autocomplete.js, however, it does exist in previous/other authors versions. Perhaps an additional library, such as jQueryUI, is needed to enable it? The function and initialisation follow (note: I’m not particularly
[jQuery] .eq(variable) strange behaviour
Hi! I'm trying to have a menu for which each item loads after the preceding one is loaded. For this purpose, I wrote the following function: function menuLoading(currentMenuItem,menuLength){ console.log(currentMenuItem); currentMenuItem++; if(currentMenuItem<=menuLength){ $('.menu li').eq(currentMenuItem).animate({"opacity" : 1}, 3000).animate({"opacity" : 0.6}, 2000 ,menuLoading (currentMenuItem,menuLength)); } } Initially, the li items of the menu are set at opacity 0. With the function I modify
[jQuery] good in FF but not in IE??? 10 lines of code ?
Hi Can anyone help. I have tried debugging with debug bar and it tells me line 3 is expecting an object ? removed comments etc still no luck. Also the sidebar list is missing ?? whats all that about . Roll on IE 8 ! http://www.framejockey.co.uk/preWordpress/ Thanks in advance Dean
Way To Pass Every Field In A Form Into The Ajax Requet
Is there a nice way to loop through a form and collect all textboxes, selects, textareas, and checkboxes and pass their values into the ajax request params? For example: $.ajax( { url: 'my_server_side_code.php', // Get all textfields, selects, textareas, checkboxes and pass into the data property. data: {}, timeout: 5000, cache: false, type: 'post', dataType: ''text", error:
[jQuery] jQuery Slider and Spinning Picture + Complication
I have this code here and I was wondering how I might go about making a little gif spin around while it is doing it's thing. On a more complicated note, is there any easier way I can do this? I have a page that displays 16 houses and relevant information. It also displays a Google Map with all of the markers to houses on it. Right now I have it doing load and loading into 2 separate divs. I don't this this is the best way to do it. I am using Django and all of my data comes from querysets (like a
[jQuery] validation plugin and ui tabs
Hi Everybody I am trying to use validation plugin with ui tbas. suppose I have 5 tabs on page and every tab have submit button ,,,, in that case how can I use validation plugin... I know i can use validation as: ('#form-id').validate(); but since i have 5 tabs but i cant have 5 forms in asp.net(please correct me if I am wrong)... can some one please let me know workaround for this ? Thanks Varun
[jQuery] Visual Studio Autocomplete Documentation
Will there be a new Visual Studio Autocomplete Documentation coming out, or will the 1.2.6 work well enough?
[jQuery] Tablesorter related
Hi, If data in the table column is dynamically generated using python method and fed : like: str(num)+' test' the column sorting does'nt work based on numbers in the text. Any clue, if I have to write a new parser? If I directly feed values in column like: 3 test 5 test 8 test then sort works and orders based on numbers, on this column.
[jQuery] Select empty textbox fields
I have a set of text box inputs in a div, and want to color the empty ones red (css) when a user attempts to submit incomplete fields. I've tried this with and without an explicit iterator, as shown in the two examples below. (a) $("#<%= this.pnlInputFields.ClientID %> input[class='inputFields'] [value='']").toggleClass('inputFields_empty'); (b) $("#<%= this.pnlInputFields.ClientID %> input [class='inputFields']").each(function(i) { $(this).toggleClass ('inputFields_empty', $.trim($(this).val()).length
[jQuery] Jquery tablesort - sorting problem
I am using tablesort on table ,where data in cells are formatted by python methods. So data in the column is not sorted correctly. eg: if the data in a column of table is put directly as 6 users 10 users 2 users likewise.. Then the sort works based on numbers in the data. But if I generate column data through python methods: for eg: str(num)+' users' then sort in that column fails based on numbers. Everything is sorted as string. Any help , would be appreciated.
ajaxSend using the value from href
Hi Guys, I am having real trouble sending the value from a href to jquery and send it via ajaxSend. When i put an alert, its shows [object][object]. <li><a href="javascript:ajaxDelete('FileID1')">Document 1</li> My jquery function is as follows : $(function ajaxDelete(index) { var $data=index; alert($data); ajax : ({ url and datastring goes here.. }); });
[jQuery] having a problem with ' and strings
hello jquery community, i am getting some strings from a page i don't have influence on. i just append those to elements (thanks to jquery this works like a charm!): $("#searchResultList").append("<li class='searchResultEntry'id='" + videoId + "' title='" + titleFull + " (" + minutes + ":" + seconds + ")'><img src='" + thumbnailUrl + "' class='thumbnail' alt='" + titleFull + " (" + minutes + ":" + seconds + ")'/></li>"); my problem is: sometimes the variable "title" contains a ' in the string,
[jQuery] [validate] Jquery validation plugin isn't working in IE
Hi, This is my first time using the validation plugin for jquery and i've got it working in firefox but when i test in IE it's not working. Here is the page: http://rickhecker.com/test/login-sign-up/index.html I'm sure it's something stupid that I'm doing because I don't see anyone else having the same problem so any help would be greatly appreciated! Thanks! p.s. the validation messages are a bit "unique" because it's for an alcohol related site :)
[jQuery] How to submit a form with an Anchor rather than an Input tag?
Hi, I have a very simple contact form that I would like to submit using an anchor rather than an input tag. This is what I've got so far: [code]<a class="button" href="javascript:{}" onclick="document.getElementById('contact-form').submit(); return false;">Send</a>[/code] Unfortunately, it doesn't work :-( Can anybody help me with this? Thanks a lot...
[jQuery] Creating classes using jQuery
Hi all, What is the right way of creating classes using jQuery. I'll give an example: I have a gallery of images. I prefer to have a JS class that will manage gallery's page. Thanks.
[jQuery] Proxy/Firewall killing jquery
I sometimes find myself behind a proxy/firewall that dynamically removes "<object>" tags from files for security reasons. This breaks the jquery script download! Is there a way to modify the scirpt so that tag does not appear? jquery-1.3.1.js line 3020. Stuart
[jQuery] Calling $.ajax with fully qualified URL broken?
If I try to call $.ajax with a fully qualified url, nothing happens at all: $.ajax( { type: "GET", url: "http://www.google.com/", dataType: "html", success: function(data) { alert(data); }, error: function(XMLHttpRequest, textStatus, errorThrown) { alert(textStatus + errorThrown); } }); If I call it without the "http://" the alert in the error
[jQuery] Ajax Problem with IE works fine on FF
Hi, I am having problem with IE6 / IE7 but IE8 works fine. Here's my ajax call *********************************************************** function getJSonDate() { var Usex =""; var Uminage = ""; var Umaxage =""; var Ucountry =""; var Uplace = ""; var Uzip =""; Usex = $("#gender :selected").val(); Uminage = $("#minage :selected").val(); Umaxage = $("#maxage :selected").val(); Ucountry = $("#country :selected").val(); Uplace = $("#place :selected").val();
[jQuery] How to animate a div's position
Hi, I have a div that is about half way down a page between some content. It displays 3 fields of a form. I have a "add more info" link, which when click expands the form to cover the page. This works great in FF, the div expands smoothly upwards to the top of the page, outward right out to the edge of the page, and down to the bottom. However in IE and safari, the div jumps to the top of the page and then expands out right and downward. I'm trying to get it to act the same as FF. My div: <div id="formToShow"
[jQuery] Calling $.ajax with fully qualified url results in error
I need to call $.ajax with a fully qualified url. For instance: $.ajax( { type: "GET", url: "http://www.google.com", dataType: "html", success: function(data) { alert(data); }, error: function(XMLHttpRequest, textStatus, errorThrown) { alert(textStatus + errorThrown); } }); It always hits the alert in the error function with "errorundefined".
[jQuery] slideUp/Down jumpy in Firefox 3 but not in IE7?
I don't remember if it was like this in jQuery 1.2, but I have 1.3.1 and I can clearly see that slideDown/Up is much smoother in IE7 than in Firefox 3. Is it just me?
[jQuery] Dynamic height and animation
Hi All, I'm at a bit of a loss here. I have a div which contains a swf. The swf has various panels that can be expanded and contracted vertically so it's height can grow It's embedded using the jQuery flash plug-in and it has a height of 100%. The div itself has a starting height of 285px.. The problem I face is that the designer wants to place an html banner ad below this swf and when a user expands the height of the swf the banner should slide down the page. Now I can easily change the height of
[jQuery] [autocomplete] Safari dosen't get a .change event
If i set a textfield to use autocomplete: $(".form_tags_field").autocomplete(data, { multiple: true }); i get a $(". form_tags_field").change(function () {... }); event fired in Firefox ad IE but this does not happen in Safari. Has anybody see this or found a work around?
[jQuery] a tag with good text popup (without title)
Hi I would like to do some html (a tag) links.When u go with mouse on the top of this link it will pop up a box with (maybe with a photo or without) some good texts.I know i could do it with html (a tag title) but it seems like old kind. Thanks.
[jQuery] Tablesorter plugin - lazy caching
Hello everybody, I'm developing an application in which the users will deal with a big table (600+ rows). One target for the application is that it has to show up as fast as possible; anyway, applying the tablesorter on the table, the initial caching steals more than one second to the process. Do anybody knows if it's possible to run the cache initialization only when the user clicks on one of the table's headers? Thanks in advance! Davide. -- View this message in context: http://www.nabble.com/Tablesorter-plugin---lazy-caching-tp21830458s27240p21830458.html
[jQuery] jQuery UI Dialog - how to hide 'X' close box?
Is there any way with jQuery UI Dialog to not show the "X" close box in the titlebar? (what if I want to show a message dialog that the user cannot close, such as a "Loading..." dialog)
[jQuery] ajaxfileupload response problem
Hi All, I'm trying to use the following plugin to allow me to submit data and upload a file via ajax. The plugin homepage is: http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ The submission itself works fine, the data is being stored and the file is uploaded. I have a java servlet which i pass a number of parameters to, and the plugin creates the iframe with the file input element inside. The servlet returns as content-type application/json and the json being sent back is either { "result":"success"
[jQuery] Posting a serialized string without Ajax ??
Hi, I think i might be overlooking the obvious but I've got a string from my sortable list, something like : item[]=3&item[]=1... I don't want to post this using ajax, I want to do a plain old post, but how do I append the string to the post url? Thanks Brian -- View this message in context: http://www.nabble.com/Posting-a-serialized-string-without-Ajax----tp21834948s27240p21834948.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] How do i extract the index of an item based within a table?
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then extracting the quantity in the row above with the same index. also be able to grab the text from the h2 header before the table, so in effect, when i click on the '40p each' box within the first item table,
[jQuery] Detecting wether an image link is going to work
I've got a page set up where it loads each image on the page, one after the other. As you can see here: http://sandbox.exit42design.com/photography/folio_1.html The problem with this is that if one of the images is broken, it'll stop in it's tracks and not try to load the next. Here's an example of how I'm loading the images $(image[1]).load(function(){ $("#image1").attr({src : image[1].src}); image[2].src= "path/to/next/image.jpg"; }); $(image[2]).load(function(){ $("#image2").attr({src
[jQuery] How do i extract the index of an item based within a table?
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then extracting the quantity in the row above with the same index. also be able to grab the text from the h2 header before the table, so in effect, when i click on the '40p each' box within the first item table,
[jQuery] Calling $.ajax with fully qualified URL broken?
If I try to call $.ajax with a fully qualified url, nothing happens at all: $.ajax( { type: "GET", url: "http://www.google.com/", dataType: "html", success: function(data) { alert(data); }, error: function(XMLHttpRequest, textStatus, errorThrown) { alert(textStatus + errorThrown); } }); If I call it without the "http://" the alert in the error
[jQuery] A couple of jQuery questions (recent converter from Prototype to jQuery)
Hi there, I'm a recent converter from Prototype to jQuery and I've got a couple of questions. Firstly, if I am storing a jQuery object containing an element (var el = $('#myelement');) and then I subsequently remove that element ($ ('#myelement').remove()), how can I test my el variable to see if that element exists in the document or has been removed? I cannot simply test using the id of the element as I I'm storing tens of elements this way and it's not practical. It would appear that the jQuery
[jQuery] getscript without parameters... an alernative?
hi all, if I'm not wrong we cannot send parameters to a script called by getScript function; so, if we "download" or get the script and then we call a function inside the script, shouldn't it work? the function is there, now in our browser... but doesn't work. $.getScript('script.js'); x("ssss"); script.js: $(document).ready(function(){ //x function is declared as global x=function(datas) { alert(datas) }; }) Thanks!! -- View this message in context: http://www.nabble.com/getscript-without-parameters...-an-alernative--tp21829807s27240p21829807.html
Next Page