[jQuery] Jquery Form w/File Upload - result code not recognizing $ JQuery script calls.
I've got a similar but different issue... Jquery.form works beautifully... From the result of the form call - my php script sends html back to the browser with $(document).ready(... scripts to setup the resultant code. When I DON'T upload a file, the result works perfectly -- any $(... jquery calls are processed and work perfectly. However when I have the form upload a file (ie: <input type="file"...), the resulting code that gets processed by the browser doesn't understand the $ Jquery calls --
[jQuery] remove() deletes events in jQuery 1.2.1. Why?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Hey, I recently upgraded my app from jQuery 1.3.1 to 1.2.1 and the transition was incredibly easy. However, yesterday I noticed that $().remove() now seems to behave differently then it did in 1.3.1. Thats because now it deletes any events attached to the element removed. This happens to be a problem in my app b/c I remove unneeded elements from the DOM instead of hiding them
[jQuery] [WARN] Firefox’s JAR: Protocol issues
Severe XSS problem in Firefox: <http://www.gnucitizen.org/blog/web-mayhem-firefoxs-jar-protocol-issues> Apparently, Mozilla has known about it since February 2007, but hasn't made any progress on fixing it (read the comments). Because of the above public disclosure, Mozilla just made the previously undisclosed bug public: <https://bugzilla.mozilla.org/show_bug.cgi?id=369814> Get the NoScript plug-in, version 1.1.7.8 (currently a "development" version) in order to protect yourself when using Firefox:
[jQuery] Initialization of jCarousel with too few elements.
Hi everyone, I'm trying to figure out if I'm doing something wrong or if there's a bug in jCarousel. The number of items in my jcarousel is dynamic, and i have a 'live filtering' feature on the client side too, so the number of items may change in runtime, and the only working way I've gotten that to work is to follow the steps in http://groups.google.com/group/jquery-en/msg/39e31f997e6d87a0. ie. recreate the carousel. Anyway, when the jcarousel is initialized with too few items, meaning the items
[jQuery] JQModal size and position
I would like to use the excellent JQModal library, but I'm having a hard time getting the dialog to show up where I want. In the CSS that comes with it, the dialog has this style: .jqmWindow display: none; position: fixed; top: 17%; margin-left: -300; width: 600px; I want something more like: position: absolute top: 50px; right: 200px; left: 200px; bottom: 20px; However, no matter what values I enter the dialog either ends up in the default position, or halfway off the screen. It does not seem to
[jQuery] Tablesorter and numbers formatted with commas
Hi All, Does anyone know how to get the Tablesorter to properly sort numbers some of which have a comma separating the thousands. What I mean is I have a range of numbers anywhere from 0 to 10,000, and I want 958 to be above 1,104 but by default it's not. Any suggestions appreciaged. Thanks, -Roman
[jQuery] Jquery Sortable plugin and Flash content problem
Hello, I am using the jquery and te sortable plugin. The sortable items are dics that contain object and embed tags to a flash file. In FF when I drag the divs around the flash movie appears smooth and as you would expect. However in IE 6 and IE7 when I drag the div around the flash movie will disappears,and reappear. It will be replaced by the white rectangle that seems to get stuck and leave a trail and lingers for a split second. When I stop sorting/draggin the div. Any ideas with this one? Thanks
[jQuery] Spam - not a complaint, more an observation
I've noticed a steady increase in the amount of spam coming through to the jQuery lists I'm subscribed to (jquery-en and jquery-ui) - this isn't a complaint as hitting Delete to get rid of it takes about half a second to do but I'd been under the impression first posts to the group were filtered to stop spam getting through? Regards, Michael Price
[jQuery] jQuery Site Detection Greasemonkey Script
Hi everyone. The number of jQuery-powered sites being listed is incredible and the numbers just continue to grow. One of the methods that I use to find sites is via Paul Bakaus' awesome jQuery Site Detection Greasemonkey Script. It's a small script that detects the jQuery object and displays a small icon in the lower-right corner of the browser if it finds a jQuery-powered site. To install it, just follow these simple instructions: This is a Greasemonkey user script. To install it, you need Greasemonkey
[jQuery] Can jquery do this?
This contact form looks really cool and I would love to use something like it on one of my websites. http://www.scriptdojo.com/mycontactstation-secure-contact-form/ Has anyone come up with something like this using jquery? I have been on a quest to find a secure ajax contact form and have found a few examples on the internet using other js libraries (mootools etc) but have yet to find one powered by jquery. Have I been looking in the wrong places? -- View this message in context: http://www.nabble.com/Can-jquery-do-this--tf4760290s27240.html#a13613559
[jQuery] hover & <select/>
helo, Here is the goal: A box containing a form (with a <select>) should only be visible as long as the mouse pointer is inside it. I used jQuery's hover function on the box but when the mouse pointer is moved over the select box's drop down menu to select an item, the box disappears because browsers don't set the relatedTarget property of the event, causing jQuery's hover function to signal a mouse out. I worked around this by checking if the event's relatedTarget is set but wonder if this isn't
[jQuery] Scoping selector to parent window
Hi everyone, I've got a quick question, say I open a new window and in that window i have a button which will close the new window and also check a box in the original window, can this be done with jquery or is it easier to use the regular DOM method? I have this: $("#i-agree").click(function(){ $("#accept-terms",window.parent.document).attr("checked","checked"); window.close(); }); Should I just do: window.parent.document.getElementById('accept-terms').value = 1; window.close(); ? The jquery
[jQuery] Different jQuery.each(obj, callback) behaviour between arrays and objects
Why is it that the $.each utility method doesn't exit the loop on return false when iterating over objects but does when iterating over arrays? Here's a simple example that requires Firebug: $.each([1,2,3], function() { console.log('outer - ', arguments); $.each([4,5], function() { console.log('inner - ', arguments); return false; }); return false; }); vs. $.each({foo:'bar',baz:'quux'}, function() { console.log('outer - ', arguments); $.each({ichi:'ni',san:'shi'}, function() { console.log('inner
[jQuery] Jquery 1.2 and Interface Plugin
Bummer. There are bugs and issues with Interface using jquery 1.2 . Are there any alternatives or bug fixes for this? It does't seem like the Interface dev team are very active in its development. I checked out the UI components, but it is far from what interface can do..
[jQuery] Use your iphone as an xbmc remote
XBMC for iPhone is a JavaScript application that uses Joe Hewitt's iPhone navigation work, iUI. The application is created by Tom Robinson. Current version is 0.1. Tom today said in the macrumors.com forum that: "I'm too busy (finishing a master's degree, finding a job and/or starting a company) to work on it much right now, but if anyone else who is proficient with JavaScript wants to take a stab at improving it then feel free and I'll merge your improvements into the "official" version." I was
[jQuery] jQuery Cycle Plugin: how to fade the first image also...
I have discoverde the very best jQuery Cycle Plugin: i want to create a fading with a few image... alll work fine but it is possible to apply the fade effect at the first image also? Thank You.... Ciao!
[jQuery] Text finder in html
I am trying to create a javascript-based text finder using jQuery. I have a table like this: <table id="dataTable"> <tr> <td> data 1 </td> </tr> <tr> <td> data 2 </td> </tr> <tr> <td> data 3 </td> </tr> </table> And I would like to be able to search for a text in any of the <td>s and highlight it. I tried something like this: function find() { text = jQuery("#findText").val(); columns = jQuery("table#dataTable td"); for (i=0; i<columns.length; i++) { if (columns[i].innerHTML.indexOf(text) != -1)
[jQuery] Dropdown list to auto populate input boxes
I am hoping someone can help me out and see if they can see why when I select a dropdown list value it is not auto populating into the input text values, the response comes back fine with the xml although it is not update the values in the input form, here is code I am having problems with below. JQuery Code $(document).ready(function() { $("#charity_val").change(function(){ var charity = $("#charity_val").val(); $.post("ajax.php",{ charity_val: charity }, function(xml){ var address = $("address",xml).text();
[jQuery] Choose Many date, but not a Rangedate [jQuery UI Datepicker v3.0 ]
Hi everybody, I have a great question about jQuery UI Datepicker v3.0. For my Website, I want to select Many dates, but I don't want to use a range of date. So, How can choose several different dates Example: [code] <select name="select" size="3" class="inputbox"> <option>04/11/2007</option> <option>20/11/2007</option> <option>3/12/2007</option> </select> [/code] Thank you ~JeFF
[jQuery] SITE: http://www.foodnetwork.com/
Don't know if this has already been posted or not, but it appears that FoodTV giant FoodNetwork.com is using jQuery (1.1.4): http://www.foodnetwork.com/ We're taking over people...we'll soon be reaching critical mass where businesses will be LOOKING for people who know jQuery! hip hip hooray. andy
[jQuery] <select> and <option> Scripting
I want to run the JQuery script that is in the "value" attribute of my <option> tags, when they are selected. I know to use onchange="" and probably 'this', but how do I get the string in the value tag to run as a function? <select name="Add Criteria" onchange=""> <option value="$('#associate').removeClass('hidden');">Associate</ option> <option value="$('#company').removeClass('hidden');">Company</ option> </select> I feel like this should be simple, but I haven't been able to figure it out. I would
[jQuery] form submit on choosing select option
Hey guys, It seems that I'm unable to make up the right search term for google to find what I'm looking for: The eays jQuery way to make my form get submitted as soon as the user chooses an element from my select box. Should be easy,shouldn't it? Regards, Samy
[jQuery] Use jQuery to initialise a variable from xml
OK, imagine I am a moron who has managed to get the following to work: A web page that displays one of 25 different pictures depending on the (manually declared) value of the variable 'picture'. Now, I am getting (or wish to get) the value from the <value> element in the following xml file (shown in all its glory): <?xml version="1.0" encoding="UTF-8"> <value>1</value> Now I seem to be reading the xml file into the page scripts OK but cannot get the variable 'picture' to initialise with a value from
[jQuery] JSON + JQUERY Problem! Need help ASAP toJSONString not a function
Hi Everyone, First time poster on this group. We use JSON for various projects and one thing I am beginning to implement are some Jquery lightbox effects. Well, sure enough Jquery and JSON don't play nice in this regard. If I try one of the JSON No Augmenting JS files out on the web, that breaks the rest of our functionality that uses JSON. It typically barfs on a line that has "something.toJSONString" and says it is not a function. here is a snippet of example code. On th eline with postBody, it
[jQuery] tabs plugin, using remote option and onShow callback
on index.php im using the jquery tabs plugin with the remote option. the pages that are loaded when the tabs are clicked consist of an html form and a php script that calls a db to populate those form fields - all working fine now, some of the form fields should be tinyMCE textareas. before i started using the remote option in the tabs plugin, it worked fine. tinyMCE is loaded with a standard tinyMCE.init function. i can use the onShow callback of the forms plugin to show an alert("hey") message
[jQuery] bind('load') on an <img> element doesn't return the image properly
I'm not sure if this is actually the problem or not, but it's the result. I am trying to build on Luke Lutman's preloading images snippet (http://www.mail-archive.com/discuss@jquery.com/ msg14399.html). Here's what I'm doing ( -- it's wrapped in $ (window).bind('load') -- ) : var toPreload = new Array(); // toPreload gets dynamically populated with a bunch of string values for image sources. // essentially no different than this: toPreload = ["image1-on.gif", "image2-on.gif", "image3-on.gif"] $('<img>').bind('load',
[jQuery] How to select by id where the id contains a dot?
Unless I'm mistaken, JQuery (1.2.1) doesn't appear to be able to select by id where the id contains a dot. e.g. <span id="error.password"></span> ... // the following does nothing $("#error.password").append('Required field'); Is this correct, is there any workaround? Cheers, D.
[jQuery] jquery leaks in ie
I'm using jquery and jdmenu on my website (www.bursaport.ro) and recently I have discovered that it has massive leaks on internet explorer. The leaks that I'm having problems with are a serious issue since internet explorer crashes when opening certain pages from the website. I tried to set the references to the objects that don't get cleaned by garbage collection to null but it didn't help at all. Is there something I'm doing wrong or is this a jquery bug ? I'm willing to pay for support if this
[jQuery] Execution of Javascript code in Ajax response in IE and Safari (http://dev.jquery.com/ticket/1598)
This is filed as Ticket #1598, and supposedly it is fixed in release 1.2.1 version. But I still couldn't get it work with 1.2.1. until I patched the JQuery with the patch submitted for Ticket #1698. http://dev.jquery.com/ticket/1698. Does anyone know if this bug has been fixed or not in release 1.2.1?
[jQuery] "Page loading" overlay
I have a couple of pages in a web app which are really huge (the markup runs to almost 20,000 lines)--which is fine, in the context of those pages. I'd like to add an overlay that will block interactions until the while page is loaded. Previously, I've done this with a document.write("<div id="overlay"></div>") inside the page body, with an onload function that hides the overlay. I was hoping there was a smarter way to do it with jquery. Is there a way to fire off a function when the body /starts/
[jQuery] Select > Option (find class of option)
$(document).ready(function() { $('div.hidden').hide(); $('#node-58 > select.state').change(function () { $(this).find("option:selected"); // I think this line needs a function to wrap the next bit of code? var equiv = $('#' + this.className); if(equiv.length){ equiv.show(); } }); }); Explanation: I have a bunch of divs with class 'hidden' that automatically have to hide. Those divs also have IDs each corresponding to a CLASS on an <option> tag within a <select> box. The idea is that when you choose
[jQuery] Safari Problem
Hi there, I'm encountering Problems with a jquery-script on Safari/Mac. It just won't start, even though it starts in all other browsers. <code> 1 $(document).ready(function(){ 2 3 var ps = ($("p.inv")); 4 var i = 0; 5 (function fading(){ 6 $(ps[i]).fadeIn(3000, function(){ $(ps[i]).fadeOut(4500, function() { if( i<2 ){i++; fading();}});}); 7 })(); 8 }); </code> It works with jquery 1.2.1. Any ideas anyone? I tried to open the effects on jquery.com with that browser, and had also several problems
[jQuery] AJAX/PHP master wanted, for a new template
Hi, I'm looking for a dev with advanced knowledge in AJAX/PHP/MySQL My project is to create a template for Joomla! (1.0 and 1.5) with advanced features ; a bit like http://demo.eyeos.org/ The job should start at the beginning of december. If you're interested, please use this form : http://fsw.fr/index.php?option=com_contact&task=view&contact_id=1&Itemid=13 to contact me.
[jQuery] using load() to retrieve multiple values
using the code below, im trying to populate the textfield and the textarea with data stored in my db. HTML PAGE: <head> <script src="../js/jquery-1.1.3.1.pack.js" type="text/javascript"></ script> <script type="text/javascript"> $(document).ready(function(){ $("#editNewsItem").change( function() { var newsId = $("#editNewsItem").attr("value"); $("textarea#title").load("processing.php",{theId:newsId}); $("textarea#article").load("processing.php",{theId:newsId});
[jQuery] Problems with Accordion seems to be with jQuere itself
I have been doing some dynamic things with accordion and have found some areas that don't work. After some rather extensive debugging it appears that the problem lies in jQuery. I'm doing some very dynamics things with the content that lives in the accordion. The problems I've found seem to stem from accordion getting out of sync with the changes that are made to the data after accordion is called and setup. I haven't unraveled why the problems are happening yet but it appears that jQuery is cacheing
[jQuery] Jquery Sortables Issue regarding parentNode's
Hi Everyone, So I am modifying the Sortables example found here: http://interface.eyecon.ro/demos/sort.html Basically, where the expand/collapse links exist, I am wrapping some new html around them for better positioning, etc... When doing this, it breaks the toggle function. I believe it has to do with this line: var targetContent = $('div.itemContent', this.parentNode.parentNode); What exactly is the 2nd argument for in this case, after div.itemContent? I made a fix by adding a 3rd parentNode,
[jQuery] Problem with jQuery and Typo3
Hi, i am new, so please be nice :D Ok i have following problem: I am trying to implement jquery into an existing typo3 site. jquery.js is up and running (vers. 1.2.1) www.op-de-eck.de my script looks like $(document).ready(function() { $('#servicenav a').click(function(){ var linknum = parseInt($(this).attr('href') ,10); $.get('index.php', {'id':linknum}, function(data){ $('#contentwrapper').empty(); $(data).filter('#contentwrapper'); $('#contentwrapper').append($(data)); }); return false; }); });
[jQuery] Calling jquery in an other function?
Hi, I'm using AJAX to update data in my database. Right now I'm using this code: [code] function accept(id, action){ var indicator = document.getElementById("indicator").style; var naamInput = document.getElementById('naam'); var xmlhttp = makeXmlHttp(); var data = 'id=' +id +'&action='+ action; id = id; window.alert(id); xmlhttp.open("POST", "pagina.php", true); xmlhttp.setRequestHeader("Content-type", "application/x-www-
[jQuery] JQuery-Plugin "ClueTip" Issue: Attribute "rel" not allowed in most HTML-elements
Hello Folks, At the moment, I am evaluating ClueTip for our use. I am especially interested in enabling input-fields with tooltip-functionality. According to the documentation of ClueTip, it seems that I have to refer to the body content of the tooltip with the attribute "rel". Unfortunately, "rel" is not an allowed attribute in most HTML-tags. So <input class="tips" name="eingabefeld" type="text" size="10" rel="#myTooltipContent"/> works fine, but is no valid HTML-Code. Do you have a solution to
[jQuery] AJAX/PHP master wanted for a new generation of template
Hello, I'm looking for someone experienced in ajax, and Joomla!. (1.0 and 1.5) The goal is to create a template based on AJAX, which should appear in two places: in the admin backend, and in the user backend. The template should make Joomla! to become a real OS, just like in http://demo.eyeos.org/. Check http://www.beautyindesign.com/joomlaos/ too Features must be : - ability to change the background (they can choose a pic inside a directory of the website - screensaver based on the same source -
Next Page