[jQuery] Finding parent iframe?
I have a quandary. I open an iframe with some arbitrary content in it. I want to be able to click on something within the iframe to cause the iframe (and the div tag that contains the iframe) to go away. I am having trouble getting to the iframe. I know it's possible as I've seen it elsewhere, I just can't find the proper path to it. I basically have this structure: <html> <body> <div> <iframe> <html> <body> <any
[jQuery] window.onload not executed when using .bind("load")
Hi, it seems that there is an inconsistent behavior when jQuery(...).bind and Element.on<event> = function are used. When I add a click event for a button with Button.onclick and afterwards a jQuery(Button).bind("click"), both functions are triggered when the button is clicked. If I do the same with a window.onload and the jQuery(...).bind, just the jQuery function will fire. I can't use jQuery().ready, because my function has to fire after the existing function and I can also not change the window.onload
[jQuery] Bloated Return Data with AJAX, how do I validate?
Hey everyone. I'm using jQuery's "$.get("url",function(data) { // do something with "data" } ); and I've got everything working fine, but the problem is, my job site employees some type of proxy/security device. It attaches a whole bunch of javascript code to ANY page loaded on a browser. So, when my data is returned, if the page was just echoing "Success" for everyone else (not on our network), it actually echoes this for me: ------ DON'T BOTHER READING
[jQuery] jQuery Powered Sites - Keep the Links Coming
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=utf-8"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] Problem with IE (Ajax + XML fragments)
I thought the .html() function does not work on XML documents. Your example does not work either. Besides that you mixed up "content" and "bar" for the each loop ;-)
[jQuery] Want to know if sites are jQuery powered? Check this out!
How fun is that?! Good idea Paul! Installed! -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Paul Bakaus Sent: Friday, February 09, 2007 11:23 AM To: jQuery Discussion. Subject: [jQuery] Want to know if sites are jQuery powered? Check this out! Hi guys, I read threads about people not always knowing how to find out if a site is using jQuery. I have set up a easy but useful greasemonkey script, which adds a small jquery icon in the bottom
[jQuery] difference in trigger and bind on checkbox click
I bind a click event to a checkbox and check it's checked status (with this.checked). The problem is that the checked status is different depending on whether the trigger comes from an actual click on the element from the user, or if I trigger it programatically with trigger. Anyone solved this? sample code $(checkbox).bind('click', function() { alert(this.checked); // different if user clicks or if I use $ (checkbox).trigger('click') }); andreas _______________________________________________ jQuery
[jQuery] jQUpload - request for features
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=420162317-09022007><FONT face=Arial color=#0000ff size=2>Totally broken in IE7. I don't even get any form fields, just a "unknown runtime error on line 82.</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1>
[jQuery] Problem with IE (Ajax + XML fragments)
Thanks for your help. After I understood the problem I have found a solution that works for me. I just send another Ajax request to the server, that gives me the content in plan HTML ;-)
[jQuery] Highlight Vertical Table Cells
Im trying to figure out how i could go about highlighting table cells that are grouped vertically when you hover over the THEAD element or the TFOOT element. Im not sure how i should grab them via jQuery though. Say we have a table like <table> <thead> <tr> <th>People</th> <--// Hove over this //-> <th>Ages</th> <th>Email</th> </tr> </thead> <tbody> <tr> <td>John</td> <--// Highlight this //-> <td>68</td> <td>none</td> </tr> <tr> <td>Joe</td> <--// Highlight this //-> <td>99</td> <td>none</td> </tr>
[jQuery] jQuery Validation 1.0 Alpha
Sounds good. I also don't like the idea of using hidden fields. I only skimmed your intro and took a look at the example (where I saw the 4 .js files required which raised the red flag) But yes, I see that we could consolidate this code into a single plugin. I don't know how much I like the class="{...}" style though. Something feels odd with the brackets there - any chance this is causing the issues in other browsers? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]
[jQuery] Accordion "header" setting doesn't inherit: fixable/workaround?
I don't know if there's actually a way around it, but let's take the following: ---------------------------------------- |IMAGE | ---------------------------------------- The dashes represent the box created by an H2 tag, and IMAGE is, well, an image. If I define H2 as the header for my accordion, it only works so long as I click on the part of that box which is /only/ the H2(the empty space). If I click the image, it fails to execute. This makes /logical/ sense, but in
[jQuery] ASP.NET MaintainScrollPositionOnPostback
Hi all. I just realize that the MaintainScrollPositionOnPostback property in the <a href="http://ASP.NET">ASP.NET</a> Page class interfere with jQuery, causing an error in jQuery. I don't know if there is a way of preventing this in error from jQuerys perspective. My workaround is simply to remove MaintainScrollPositionOnPostback from my <a href="http://ASP.NET">ASP.NET</a> page. When MaintainScrollPositionOnPostback is enabled <a href="http://ASP.NET">ASP.NET</a> injects this script into the page:
[jQuery] jQuery Validation 1.0 Alpha
You're library though seems to be very robust, I'm just concerned with the 3 (or is it 4) js scripts required for it to work. I too am a fan of Particle Tree's unobtrusive style of form validation: http://particletree.com/features/a-guide-to-unobtrusive-javascript-validation/ I'm working on a project right now that may allow for me to work on a solution similar to the ones below using Jquery. Yup, know this is the Jquery mailing list but I really like the examples I've seen using prototype or mootools.
[jQuery] blockUI question
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=390342315-09022007><FONT face=Arial size=2>oups, forgot to put the code i have so far:</FONT></SPAN></DIV> <DIV><SPAN class=390342315-09022007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=390342315-09022007><FONT face=Arial size=2><script type="text/javascript"><BR>
[jQuery] JQuery Star ratings - New version?
<P> Anyone have the updated JQuery Star ratings <http://sandbox.wilstuckey.com/jquery-ratings/> for the new JQuery version? TIA<BR> <BR> <BR> -- <BR> <?php echo 'Just another PHP saint'; ?><BR> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ </P> <a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3"
[jQuery] blockUI question
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=390342315-09022007><FONT face=Arial size=2>hello!</FONT></SPAN></DIV> <DIV><SPAN class=390342315-09022007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=390342315-09022007><FONT face=Arial size=2>i would like to use blockUI to replace the classic confirm dialog
[jQuery] jQuery Powered Sites - Keep the Links Coming
<!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.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=669365714-09022007><FONT face=Arial color=#0000ff size=2>Nice one.</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]
[jQuery] Does the jQuery selector support an OR condition?
Hi, I'm new to jQuery and I'm looking for a selector expression to do an OR search. Couldn't find anything about that in the documentation and the mailing list (quite hard to search for OR...) I want to combine the following to statements into one, is that possible? jQuery("td.L a").attr("tabindex", -1).attr("disabled", true); jQuery("td.R a").attr("tabindex", -1).attr("disabled", true); Thanks Patrick -- View this message in context: http://www.nabble.com/Does-the-jQuery-selector-support-an-OR-condition--tf3196803.html#a8876769
[jQuery] jQuery Powered Sites - Keep the Links Coming
Christian... I've used your CMS before and I have to say...it's pretty good. Just wanted to say thanks for a good, free product. andy -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Christian Montoya Sent: Friday, February 09, 2007 8:29 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery Powered Sites - Keep the Links Coming > > On 1/10/07, Rey Bango <rey@iambright.com>
[jQuery] jQuery Powered Sites - Keep the Links Coming
<!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.5730.11" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=208584114-09022007><FONT face=Arial color=#0000ff size=2>Just curious...how are you guys finding out these sites use jQuery? Standard check the source or what?</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1>
[jQuery] the best way to get live data
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word"><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.5730.11" name=GENERATOR> <STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
[jQuery] Error when calling ajax content
Internet Explorer 6 returns an error after running this example: <script language="JavaScript" src="../js/jquery-latest.js" charset="iso-8859-1" type="text/javascript"></script> <script type="text/javascript"> $(function(){ var showagain = function(){ $("#linkProfessional").animate({opacity: 1.0}, 500).show('slow'); } $("#linkProfessional").click(function(){ $("#divProfessional").load("CreateGrid.cfm?type=professional&IDAccount=58447.1001294-6");
[jQuery] ('#id').prepend() slow on IE6 in large tables
Hello all, new poster to the list here (resending via Nabble after subscribing!). I am using jQuery 1.1.1 to load table data via an AJAX op into a page, and am running into some performance issues, especially with IE6. I have read here and elsewhere that IE presents some speed issues with DOM manipulation, but haven't found much information to deal with the problem. I am loading about 100Kb of JSON data via an AJAX POST, which resolves to a ~500 x 4 array. This is rendered as a standard table, so
[jQuery] Effects: Choppyness, speed and IE
Hi there, does anyone know under which circumstances the effects don't work properly with IE6+7? I am trying to build some simple slideUp("slow") effects and such, but IE6+7 on two machines seem to do this too quickly if it doesnt even just use no animation at all - at least I cannot see any animations there. And on the other hand: Is it quite normal that these effects are sorty choppy most of the time? I am not working with too overweight constructs that shall be shown or hidden, but even with smaller
[jQuery] plugin: fieldSelection
Hey jQuery lovers, I coded a small plugin to retrieve the caret position and the current selection index of input fields and textareas. Special treatment for such an simple thing is needed because MSIE doesn't support the easy DOM 3.0 methods (yes, this also applies to IE7 *sigh*). So here's the plugin and a small test case: http://lab.0xab.cd/jquery/fieldselection/ Please note that the plugin is a little rough and not very jQuerish at the moment - mainly because I don't know if this is useful for
[jQuery] make dynamic array
Hi there, I would like to load some data into javascript array from an php file, how can I do it? I read through the API and find getJSON and getScript, but there is nothing to handling data after getting it. Thx forwardly Alex _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] the best way to get live data
Excellent, thank you! -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Jake McGraw Sent: Thursday, February 08, 2007 5:22 PM To: jQuery Discussion. Subject: Re: [jQuery] the best way to get live data Paul, you can use the window object, specifically the window.setInterval() function, in combination with one of the Ajax abstraction methods: var requestInformation = function () { $.getJSON(url,input,function(output){ $("#infobox").empty().append("
[jQuery] jqModal updated -- dialog customization galore
I've updated jqModal to revision 5. Plugin page is @ http://dev.iceburg.net/jquery/jqModal/ Here's what has changed; --- + Added "on open" and "on close" callbacks for further control and flexibility. - A "notice" demonstration has been added to plugin page demonstrating a translucent dialog with "display" effects via callbacks. + Brought the README up to date (documentation) + IE Fixes; When overlay is disabled (set to 0), an iframe is drawn around the dialog window instead of whole page. This prevents
[jQuery] the best way to get live data
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] Works in FF not in IE6
I'm using a simple script to load remote content. So simple like this: jQuery.noConflict(); jQuery(document).ready(function(){ var showagain = function(){ jQuery("#linkProfessional").animate({opacity: 1.0}, 1000).show('slow'); } jQuery("#linkProfessional").click(function(){ jQuery("#divProfessional").load("CreateGrid.cfm?type=professional&IDAccount=034014450&IDPEB=063871"); jQuery("#linkProfessional").animate({opacity:
[jQuery] load() function fail callback. How?
I'm using .load() function to load remote content. Simple like this: $("#linkProfessional").click(function(){ $("#divProfessional").load("CreateGrid.cfm?t=professional&IDClass=88345-0&IDPEB=061&IDAccount= 5337.333294-6"); ... If IDAccount haves content(resultset) to show, OK. Otherwise I'll like to remove a link(linkProfessional) to call CreateGrid.cfm. What do you suggest? Cheers _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Is the jquery validate() plugin compatible with jQuery 1.1.1?
Hey guys, does anyone know if this plugin[1] is compatible with jQ 1.1.1? Cheers, [1] <a href="http://fuzz.bassistance.de/jQueryFormValidation/validateTest.html">http://fuzz.bassistance.de/jQueryFormValidation/validateTest.html </a><br clear="all"> -- Joan Piedra || Frontend webdeveloper <a href="http://joanpiedra.com/">http://joanpiedra.com/</a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] interface pluging: error in Selectables demo
hi, i was trying the selectabledemo from http://interface.eyecon.ro/demos/select.html# in FF2/Win and i receive a "a.get(0).f has no properties" error when clicking the serialize link. Anyone else got that problem or knows how to fix? thanks stefan -- Stefan Kilp SK-Software, Entwicklung & Beratung email: kilp@sk-software.de fon : +49 6151 93344-0 fax : +49 6151 93344-20 Herta-Mansbacher-Str. 98 64289 Darmstadt, Germany. ----------------------------------------------------- _______________________________________________
[jQuery] Search term table row highlighting best practice
<!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.3020" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=952311118-08022007><FONT face=Arial size=2>Hello,</FONT></SPAN></DIV> <DIV><SPAN class=952311118-08022007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=952311118-08022007><FONT face=Arial size=2>I'm looking to highlight 1 or more rows of a table which have a
[jQuery] Effects: Choppyness, speed and IE
I also noticed that happen intermittently, on a similar slideUp("slow") I had on a very simple container div with only 4 children elements (a simple form with, , 2 input fields, and a submit button). Nothing fancy, but nonetheless choppy effects sometimes. Hmmm.
[jQuery] Bug: jQuery/Packer/ActiveX
# Background Inserting an ActiveX control (i.e. flash movie, quicktime movie) with an external javascript (i.e. jQuery) should avoid the ugly grey box and having to click to activate. See: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp # Bug ActiveX controls inserted using the **packed version of jQuery** have the grey box and must be activated. See: jQuery/Packer/ActiveX Bug for more info. See: http://www.nabble.com/Packer-and-ActiveX-...-tf2649396.html
[jQuery] Q on optimizing multiple plugin use/packing
I'm working on a site which is using a fair number of jQ plugins. It currently stands at 4, with probably up to 2 more on the way. I was curious if there would be a benefit to grabbing non-packed copies of everything and then packing them as one big file(probably some) and whether it's likely enough to offset the management cost of having to redo this upon any updating. Is there significant overhead difference in unpacking several files vs one big one in the first place? Thoughts? PS: let's skip
[jQuery] Reducing unnecessary selector lookups
So right now I have a bunch of jQuery code in a javascript file that I include on every page. I'd like to separate out the jQuery calls a bit so that only the ones relevant to each page are called. I think all the work of looking up non-existent selectors must be slowing our site down. Is this a good way of doing it or is there some better/more widely used way? if (window.jQuery) { $(document).ready(function() { // common functions, all pages $(".spellcheck").spellcheck(); ... // product page functions
[jQuery] click-event and keyCode
hi, is it possible to distinguish between a click with or without a ctrl/alt key pressed. i want to simulate "selecting items" with Ctrl+click and click only to execute an action. $("p").bind("click", function() { // how to find out what keys where pressed if (ctrl-pressed) { start select action } else { start normal action } }) thanks stefan -- Stefan Kilp SK-Software, Entwicklung & Beratung email: kilp@sk-software.de fon : +49 6151 93344-0 fax : +49
Next Page