[jQuery] Autocompleter update (again)
IE too -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Klaus Hartl Sent: Thursday, September 07, 2006 1:48 PM To: jQuery Discussion. Subject: Re: [jQuery] Autocompleter update (again)
[jQuery] BUG: $(document).ready never executes if window.onload is set in Firefox
function myOnload() { testFunction('JS: Test 1 Worked!'); } function testFunction(str){ alert(str); } window.onload = myOnload; $(document).ready(function(){ alert('jQuery TEST WORKED!'); }); IE 6.0.2xx... will execute both of the alerts FF <a href="http://1.5.0.6">1.5.0.6</a> only alerts: 'JS: Test 1 Worked!' after attempting to debug the issue, it looks a piece of code in jQuery never executes: line: 987 code: // If Mozilla is used if ( jQuery.browser == "mozilla" || jQuery.browser == "opera"
[jQuery] xmlHttpRequest, responseText, responseXML
Hi, I am in the process of migration my own Ajax lib to JQuery's. This how I call my server: $.ajax({ url: config.API_URL, type: 'POST', data: $.param(data), complete: XmlHelper.ajaxDone, success: XmlHelper.ajaxSuccess, error: (onerror ? onerror : XmlHelper.ajaxError) }); This is ajaxSuccess: XmlHelper.ajaxSuccess = function(xmlHttpRequest) { console.log(xmlHttpRequest); } Strangely, the xmlHttpRequest object holds the responded XML in responseText, instead of responseXML. This is the returned Header:
[jQuery] jQuery easing plugin - pre release
Hi All, What it does: Overwrites the standard animate functions with custom easing functions from Robert Penner. http://gsgd.co.uk/sandbox/jquery.easing.php What I've done since last time, is packaged up the equations into a separate object so this can be added to, and seperated out the unbasic ones into a separate file. I've also added in the option to pass a function instead of an easing type (part of the original request that finally got me on the road to releasing this) so if you only want to
[jQuery] Autocompleter update (again)
What problems are you seeing? http://www.dyve.net/jquery/?autocomplete seems fine to me right now on ie and ff -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Dylan Verheul Sent: Thursday, September 07, 2006 10:41 AM To: jQuery Discussion. Subject: Re: [jQuery] Autocompleter update (again) The new code introduced layout quirks in Internet Explorer (and perhaps also Firefox). Maybe a wrapper DIV wasn't such a bad idea after all ... I don't
[jQuery] AJAX loadIfModified() problems
No, I'm not doing that ... It appears that I ought to, though! :-) -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] Sent: September 6, 2006 6:29 PM To: jQuery Discussion. Subject: Re: [jQuery] AJAX loadIfModified() problems David, are you loading the if-modified-since header from your target script? <? header("if-modified-since ... something like that WIll
[jQuery] AJAX loadIfModified() problems
Hmmm ... My script is querying JSP pages that are accessed through a proxied Apache server. There is no "Last-Modified" header being automatically added, but as the response from the JSP is being generated each time, that the header indicates a new "Date" value. Even when bypassing Apache and making the requests directs to Tomcat, there is no "Last-Modified" header being automatically added. Would this suggest that I should modify my JSP to add this header and update the value when the page response
[jQuery] Plugins - Javascript disabled VS CSS disabled!
> - Disabling Javascript (not CSS) should not enhance behaviour > but functionality AND LAYOUT (CSS) should remain at least. > Any suggestions on defining 'good practises' for css in plugins? A plugin should fail in a way that causes the least disruption to the page. The basic jCarousel example seems to do this. If script is off, you see all the thumbnails in the li tags, which you could style any way you like--for example by adding a nocarousel class to the ul tag. As part of the .ready code for
[jQuery] Autocompleter update
Plugin: Autocompleter Url: http://www.dyve.net/jquery?autocomplete Docs: http://www.dyve.net/jquery/autocomplete.txt New options: The options below provide a better user experience (automatically picking results) and advanced markup options (the approach is a little different, but this could be used to duplicate the script.aculo.us demo with pictures in the results). selectFirst (default value: false) If this is set to true, the first autocomplete value will be automatically selected on tab/return,
[jQuery] Thickbox 2.0 scrolling...
I'm using thickbox 2.0 in a project (love it by the way!)... It works fine for my requirements, however in the popup thickbox I have a form that's longer than the window (and hence you get a scroll bar). It's somewhat annoying because if you use the mouse wheel, it will scroll the parent page not the contents of the thickbox. Is there any way to resolve this? Any ideas would be greatly appreciated. Tom _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugins - Javascript disabled VS CSS disabled!
Hi, I was testing jCarousel plug-in and I realised (as many other plugins out there) that when you disable javascript (jQuery) in your prefered browser, you miss not only behaviour but layout (CSS). So, I wonder, how to design our jQuery plug-in in order to perfectly separate behaviour (functionality) from layout (css). In our plugins (jCarousel, in particular) if you disable javascript it should have a very similar "look" to the final result (without using so many classnames via jquery) although
[jQuery] Thickbox 2.1 Address Book second edition release
This example is written by thickbox 2.1 and used iframe attribute specifically This time I provide package exmaple to downlaod directly. I have a problem. Why I can't use center() in jquery 1.01 ?? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Method Clarification
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=041304312-07092006><FONT face=Arial><FONT color=#0000ff><FONT size=2>I<SPAN class=041304312-07092006> may be sweating a small point, or... maybe I don't see the forest for all the trees...</SPAN></FONT></FONT></FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN
[jQuery] Thickbox 2.1 Address Book second edition release url
This problem was fixed. Just replace cancel button onclick even onclick="top.TB_remove();" Thank about your watch! :) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Thickbox 2.1 Address Book second edition release url
This problem was fixed. Just replace cancel button onclick even onclick="top.TB_remove();" _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] half rendered div
I'm using jquery latest, when using some basic effects, like show() and hide() there are no problems, when using something like show('slow') on a div it renders partially. any idea why this happens? it's a problem related to my styling? it is all very basic.. thanks. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Slding divs that are float left
I am using the latest jquery with the latest interface library ( they don't seem to have a forum anymore ) and have encountered some difficulty using the toggle blind effect. I have 2 div's side-by-side, one floated left. The idea is to put a button in between them, that will 'collapse' or 'expand' the left div. This is a common GUI element that you see all the time in programs like Dreamweaver and others. The left div has to be floated left, and when you click the collapse button, it does collapse,
[jQuery] Thickbox 2.1 Address Book second edition release url
sorry for forget URL. http://www.tweosc.org/article/ajax/thickbox-address-book-second-edition.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] $.posting Array of Checkboxes
Hey... im trying to post via ajax an array of checkboxes with the same id.. if i do: $(".btn").click( function(){ $.post("request.cfm",{ valor: $("#checkboxes").value }, function(){ //any callback } }); on firebug i see the posting is only sending the 1st value of 4 #checkboxes in the form... Any one knows why?? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] AJAX loadIfModified() problems
I seem to be having some challenges with the loadIfModified(url) function. Is the remote HTML "injected" if anything is returned by the URL, or if only what is returned that the previous time the URL was queried? I'm building a web page that periodically polls the server to display the status (OK, busy, loading, etc.) The following code does not appear to work (in Firefox 1.5): setInterval(function() { $('#status-container').loadIfModified('status.jsp'); }, 1000); ... however, using
[jQuery] update a div within a submit
hi to all. sorry for the dumb question, I'm a total noobie of jquery. I just want to ask what's the equivalent code of updating a div with the results of a form action when hitting a submit button of jquery instead of scriptaculous and prototype. I've read jquery docs but I found them a little confusing. thanks in advance. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Bug with .css('z-index', '2')
Wanted to say that $().css('z-index', '2') does not work in IE but does work in FF. What will work in both browsers is $().css('zIndex', '2'). Not sure if this is a bug but it did throw me for a loop for a few minutes. I actually just noticed it because 'z-index' was working fine pre-1.0. I'm currently using "Rev: 249". Can anyone else confirm this? -Aaron -- View this message in context: http://www.nabble.com/Bug-with-.css%28%27z-index%27%2C-%272%27%29-tf2224146.html#a6162855 Sent from the JQuery
[jQuery] Bug with .css('z-index', '2')
John, Awesome! I figured it was something simple like that. Thank you for all your hard work. Because of the work you and others like you do, my job is much easier. jQuery in particular, has changed the way I think about and design web sites. Before jQuery, I rarely touched Javascript; but now, I'm confidently scripting like never before! -Isaac -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig Sent: Wednesday, September 06, 2006
[jQuery] $.WRAP is good, yet how about $.UNWRAP function? tips?
hey peeps, wonder what you all use or could use, to UNWAP a tag, after its been its been added with teh $.wrap() function for example: <span id="removeMe"><P id="keepMe"> text </P>etc.. </span> so lets say you wanted to just keep the P tag, and unwarp the it, (drop span tag)? would be nice to just to do something like... $('removeMe').unwarp(); in turn would result in ..<P id="keepMe"> text </P> etc... what to drop only the span tag without too much effort., any quick or easy already exciting function
[jQuery] Bug in animate or am I doing something wrong?
Hello everybody. I have a div which I am changing size and position for with the animate function but when the animation is completed the div ends up beeing semi-transparent. The div has the following css-properties #box { position: absolute; background: #FFFFFF; top: 200px; width: 225px; height: 200px; border: 10px solid #FFFFFF; text-align: left; } The animation code $('#box').animate({ 'height': 400, 'top': 100 }); _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Next Div
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] AJAX/JS Developer Wanted for Semi-Permanent Contract
AJAX/JS Developer Wanted for Semi-Permanent Contract The Company: A small established company targeting a vertical market. Very experienced core staff in both technology and launching dot-coms. We're based in Los Angeles. The Task: Take an existing web presence which has been held together with spit and duct tape and turn it into something beautiful. This will be done along two axes: one is the creation of a Drupal-based community site to compliment the web application and the other is to take the
Semi-New jQuery Site Live
Hi Everyone - I've just pushed proj.jquery.com -> jquery.com. Please, if you spot 'bugs', missing pages, let me know. There's still a bunch wrong with it, but I felt that it was important to push this live sooner rather than later - since there's so much valuable information on there that people need to see. So, for now, just post messages to this thread and we can sort things out as they come in. Nearly everything is a wiki, so you're welcome to touch things up too. Thanks! --John
[jQuery] Need help with the CSS selector - :not()
Hi I'm trying to get all links from the body in a page and in the same time excluding a single element with the matching href attribute using the :not css-selector but it does'nt seem to be working. Is this not supported in the latest jQuery (1.0.1) or is there something wrong with my code? The expression returns all links matching the rel but also returns the one with the matching href. I know I could simply insert a: if (this.href != src) in the function to fix this but for my purposes the best
[jQuery] Bug with .css('z-index', '2')
> > From: Dylan Verheul
[jQuery] Thickbox 2.1 crashes Opera 9.01
Hi, The value of '//:' for the src attribute of the iframe, that is appended to the body, lets Opera 9.01 crash (Win XP). We are using the same value in jQuery, but fortunately it is hidden away from Opera through browser sniffing. I changed it to 'about:blank', but I'm not sure if that fixes the https problem. I think I once used 'javascript:;' which worked without security warning as well. Does anyone know a value for the src attribute that does not trigger security warnings? I cannot test at the
[jQuery] Get array of all DOM attributes for a set
> what about "plural" functions that would return an array
[jQuery] $.posting Array of Checkboxes
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN class=456303516-06092006>> <FONT face="Times New Roman" color=#000000 size=3>im trying to post via ajax an array of checkboxes with the same id.</FONT></SPAN></FONT></DIV> <DIV dir=ltr align=left><FONT face="Times New Roman"
[jQuery] Get array of all DOM attributes for a set
Hi everyone, I have a multiple select menu where each option has a numerical value attribute relating to a database ID, and I need to get the value of each selected option element to join into a string. The current DOM attribute functions all seem to operate on the first element of a jQuery result set, but what about "plural" functions that would return an array of the requested attribute values from all of the elements? Something like: $('option:selected').vals() Might produce: [4, 56, 1] Or: $('option:selected').texts()
[jQuery] checkbox items with same name
i have 5 checkbox items with same name: <input name="geographic" value="1" type="checkbox"> <input name="geographic" value="2" type="checkbox"> <input name="geographic" value="3" type="checkbox"> <input name="geographic" value="4" type="checkbox"> <input name="geographic" value="5" type="checkbox"> and option to select multiple elements with same name must work. $('#form_name').find("input[@type=checkbox][@checked]") gives me only one element. how can i use checkbox elements like select tag? Aljosa
[jQuery] slideDown callback problem
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=394323714-06092006>Been playing with the accordion function over @ <A href="http://fmarcia.info/jquery/accordion.html">http://fmarcia.info/jquery/accordion.html</A></SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=394323714-06092006></SPAN></FONT> </DIV>
[jQuery] Logger
This is a logger script that I use it while developing. I thought it might be usefull to you too. <a href="http://interface.eyecon.ro/develop/ilogger.html">http://interface.eyecon.ro/develop/ilogger.html</a> It can be used to send message to the loggin panel, to log objects and dom elements, intercepts errors etc. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Checked input box
Hi, the problem is the following: When the html standards were very transitional, a syntax like <input type="checkbox" value="1" checked> was used for having the checkbox checked. For xhtml conformity, checked="checked" is nowadays used only to avoid parsing errors. That means, checked="blabla" and checked="false" will always result in a checked checkbox. The javascript attribute DOMelement.checked, which is a boolean, will set the checked state correctly but will not alter the original html checked
[jQuery] Checked input box
This always return to me null, if checkbox is checked or not. Giro. -----Mensaje original----- De: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] En nombre de Dylan Verheul Enviado el: miércoles, 06 de septiembre de 2006 14:42 Para: jQuery Discussion. Asunto: Re: [jQuery] Checked input box $('#mycheck').attr("checked")
[jQuery] Checked input box
Yes, this work. Thk. Giro. -----Mensaje original----- De: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] En nombre de Mike Alsup Enviado el: miércoles, 06 de septiembre de 2006 15:39 Para: jQuery Discussion. Asunto: Re: [jQuery] Checked input box
Next Page