[jQuery] jQuery Plugins Group dead?
Hi there, i joined the jquery plugins group a few days ago to ask some questions about the treeview plugin. On second glance i mentioned that there are only 26 threads in this group till now and the last post dates from March 15 2007. Also it is not possible to make new posts at all. You can write a message and send it, but it is never published. So i guess this group is dead. Can you confirm? GH.
[jQuery] Difficult to describe issue relating to selects!!!
We nest our form inputs into unordered lists and use jquery to highlight the parent list item of the active input: $(function() { $("ul.form").find("input,select,textarea,option,.file") .focus ( function() { $(this).parents('li').addClass('ShowGuidelines'); } ) .blur ( function() { $(this).parents('li').removeClass('ShowGuidelines'); } ); }); One interesting problem which we're facing is that, when
[jQuery] ANN: MathTran JavaScript - Google SOC and jQuery
Hello You may know already that Google pays students to write open-source software, as part of the Google Summer of Code (GSOC). You may not know that this this year there is, sort of, a jQuery GSOC project! And it involves the (La)TeX typesetting system for mathematics. (Even if you don't care about math, perhaps read on. The project is also about a JavaScript library for using a web service, and the editing of structured content.) Here's some background. I'm a TeX expert, and have developed http://www.mathtran.org,
[jQuery] Positioning in IE
Hi, I just started learning jQuery and wrote this script to make an image enlarge when you click on it and return to normal when clicked on again. However, to make it return gracefully to its original position, I need to record of its top and left properties. The script works fine in Firefox, but IE sets the top and left to auto, as soon as I set the css position to absolute, so I can't use those values. I can I get a workaround for this? Here is the code: [code] $(document).ready(function(){ var
[jQuery] Issue with IE 7 and multiple simultaneous ajax requests
I have implemented a form validation process that uses ajax to check fields whenever a field value changes and also at form load when fields are filled with existing values. This process works just fine in all browsers execpt in IE when a form loads. In IE7 page loading hangs when a form that requires content checking is included. I have tried to implement several forms of ajax request queuing but have not been able to fix the problem. Any idea where the problem could come from Using jquery 1.2.6
[jQuery] XHR to other domains
Hi, I'd like to embedd in an XUL extension XmlHTTPRequests. I've tested at the moment with apache in the browser the ajax script and it works fine. However,when I try to fetch XML data from another host than mine I get some error like this Error: uncaught exception: Permission denied to call method XMLHttpRequest.open In the javascript error console I get this. I've tried to do the same thing with jQuery and there were no problems with this while using jquery,why doesn't XHR just work like jquery
[jQuery] HotChili (Greasemonkey/userscript) breaks easing
I have (well, had) HotChili[1] enabled for all sites for its convenient go-anywhere syntax highlighting ability. Today, I tracked a problem with one of my sites to having HotChili enabled (as a Greasemonkey userscript) on my installation of Firefox. I assume that since HotChili pulls in its own copy of jQuery that it's blowing away plugin extensions. I presume the same could be true of other userscripts (Firefox or Opera--can Safari/IE do userscripts?) that pull in their own jQuery. Text of error:
[jQuery] replace html on ajax success ie7
Hi guys, I am having a wierd issue. It seems all is fine in firefox but in IE for some reason, although I can alert the value returned to the ajax post, I cannot seem to populate the html of my div. Here is my code: $.post(SERVER_URL, 'temp_key='+temp_post_key_n, function(data){ alert(data); // Displays returned html in ie and firefox $('#message_div').html(data); // Populated in Firefox, not in IE }, 'html' ); Also, If I set $('#message_div').html(data) to $ ('#message_div').html('testing') I see
WORLD BEAUTYS, FILM MODELS, SEXY GIRLS, FASHION MODELS AND ALL NATURE PICS Etc...
<div align="center"><font color="#ff0000" size="6"><strong></strong></font> </div> <div align="center"><font color="#ff0000" size="6"><strong></strong></font> </div> <div align="center"><font color="#ff0000" size="6"><strong>HI THIS IS MY FIRST WEBSITE...</strong></font></div> <div align="center"><font color="#ff0000" size="6"><strong>PLZZZZ JUST VISIT ME....</strong></font></div> <div> </div> <div align="center"><strong><font color="#3333ff" size="4"><a href="http://www.nicepicks.blogspot.com/">WORLD
[jQuery] Getting the correct Selector code
I have a list like: <li> <h3><span class="add">ADD</span></h3> <div class="dialog">Content 1</div> </li> <li> <h3><span class="add">ADD</span></h3> <div class="dialog">Text 2</div> </li> I want to open a dialog, which are the divs, when the ADD is clicked. But I only want the dialog that is in the same li tag as the Add button being clicked. I though the following might work, but it's not right: $(".add").click(function () { $(this).parent().parent().$(".dialog").dialog("open"); }); Shouldn't that
[jQuery] Getting the correct Selector code
I have a list like: <li> <h3><span class="add">ADD</span></h3> <div class="dialog">Content 1</div> </li> <li> <h3><span class="add">ADD</span></h3> <div class="dialog">Text 2</div> </li> I want to open a dialog, which are the divs, when the ADD is clicked. But I only want the dialog that is in the same li tag as the Add button being clicked. I though the following might work, but it's not right: $(".add").click(function () { $(this).parent().parent().$(".dialog").dialog("open"); }); Shouldn't that
[jQuery] Getting the correct Selector code
I have a list like: <li> <h3><span class="add">ADD</span></h3> <div class="dialog">Content 1</div> </li> <li> <h3><span class="add">ADD</span></h3> <div class="dialog">Text 2</div> </li> I want to open a dialog, which are the divs, when the ADD is clicked. But I only want the dialog that is in the same li tag as the Add button being clicked. I though the following might work, but it's not right: $(".add").click(function () { $(this).parent().parent().$(".dialog").dialog("open"); }); Shouldn't that
[jQuery] How do I acess the value of an inline anchor?
Hi, I am using the example code written on the localScroll page I am trying to figure out how to pass the anchor value of the inline link to the load() function. $('#detailsContainer .description').load('/index/description/id/' + ?????????); The full code is below: <script type="text/javascript"> jQuery(function( $ ){ $("#albumResult .description").css("display","none"); /** * Most jQuery.localScroll's settings, actually belong to jQuery.ScrollTo, check
[jQuery] Can i work with string? exp. i want get first 4 letter from string. Can I?
Hi everybody. If I have string, for example: <h2 class="Title">2.1 Bla bla bla</h2> And I want get number of position -2.1. How can I do this? Thanks beforehand :)
[jQuery] Two clicks to show a div...
Hi... I have a little problem... I'm using this code to load some ajax querys... var LoadPhotosJQuery = { load : function() { var links = $(".box_link"); links.each( function(e) { var elements = links[e].id.split('#')[1]; $(links[e]).click( function(ev) { ev.preventDefault(); $.ajax({ type : 'get' , url : "ajaxfiles/file.php" , data : {orderBy:elements} , dataType : "html" , error : function(er) { alert(er); } , success : function(c) { $('#'+elements).text(c); $('#'+elements).slideToggle(200); }
[jQuery] European Mirrors
I'm based in Ireland and I find that accessing the docs is very slow. Are there any European based mirrors for the documentation? If not are you open to the idea of partnering with European Based hosting companies for mirroring the docs?
[jQuery] $.ajax timeout basics
Hi everyone, I've been using jQuery for a bit of time now, and getting quite comfortable with it... except something that's been frustrating the hell out of me all day! Can anyone explain to me the basics of the ajax timeout function works? I've tried defining a timeout in the global ajax handler, and also in my ajax call itself, but I just can't get my ajax call to stop, and do something once the timeout I set is passed. Looks like it should be really simple - it probably is - but any help would
[jQuery] non-html elements
Hi, Are you supposed to be able to use jquery to search for non-html elements? I've got a web-app that is sending out xrefs which are recursively expanded by jquery using the following function. function expand_refs (context) { $("xref",context||document).each(function (i) { var rpl = cache[$(this).attr("ref")]||0; if(rpl){ var cntxt = $(rpl).insertAfter(this); $(this).remove(); expand_refs(cntxt); } }); } This seems to work ok for some cases but I'm having trouble with a select list. The options
[jQuery] Opacity Problems in IE 6 and IE 7 with 1.2.5 and 1.2.6
Once I upgraded to 1.2.5 and 1.2.6 there seems t be a problem with the way that jQuery sets the opacity filter in IE, specifically for items that on the initial render are 'display:none' At first I thought it was my plugins involved (jqgalviewii , jqmodal, and idtabs) but once I dived into the code it seems like the problem may be somewhere in lines 1099 - 1113. This problem did not exist in 1.2.3 or 1.2.2. jQuery 1.2.6 // IE uses filters for opacity 1099 if ( msie && name == "opacity" ) { 1100 if
[jQuery] tricky for loop
I have an HTML Table: 1: <tbody> 2: <tr id="forum-list-1"> 3: <td colspan="4" class="container"><div class="show_hide">Second text</div></td> 4: </tr> 5: <tr id="forum-list-3"> 6: <td>forum1</td> 7: <td>0</td> 8: <td>0</td> 9: <td>na</td> 10: </tr> 11: <tr id="forum-list-4"> 12: <td>forum2</td> 13: <td>0</td> 14: <td>0</td> 15: <td>na</td> 16: </tr> 17: 18: <tr id="forum-list-2"> 19: <td colspan="4" class="container"><div class="show_hide">Second</div></td> 20: </tr> 21: <tr id="forum-list-5"> 22:
[jQuery] Best practice to get form field values
Hi, what would you consider the 'best practice' to access form input values? Having an input field <input value="New topic" class="inputEdit" name="title" type="text"> I could use $('[@name=title]').val() or $('[@name="title"]').val() or $('[name=title]').val() or $('[name="title"]').val() ( I also once observed, that the right side of the '=' was evaluated, so it was possible to write var x = 'title'; $('[name=x]') but i could not reproduce it today, so maybe I'm wrong. ) Of course
Loading a page into a div on click
Im trying to make jquery load a php page into a new div so that the user may edit the language settings, then hide the div again. The code below looks right to me but it doesnt seem to work. Rather than loading with ajax it follows the fail safe link. Firefox2.0 tells me "missing ) after argument list [Break on this error] $('a#edit_EN').click(funtion{$('#editlang').load('admin-editlang.php', {id: edit..." IE7 is kind enough to say char 31, which is the closing bracket after function... So its saying
[jQuery] accessing the content of iframe
Hi, Let say I have page A with an iframe (# ifrmContent) where its src is page B. The page B have a checkbox (# chkAgree). How am I going to access the checkbox in page B using the selector from page A (parent)? Could someone guide me a bit? Cheers, Teon
[jQuery] How to hide several values in an option select box?
I am trying to hide several values in an option select list. A sample is below: For instance I want to hide or remove <option value="asc.212- servicing">Servicing</option> and <option value="asc.333-air- conditioning">Air Conditioning</option> When I try the following syntax it removes the entire list and not just the 2 items I want to remove. I tried: $("option").val(["asc.212-servicing","asc.333-air- conditioning" ]).remove(); Any ideas? Thanks! Mike <td align="center"> <select name="category-key"
[jQuery] jQuery+Cycle : slideshow with progressive image loading
Hello, A previous discussion here (http://groups.google.fr/group/jquery-en/ browse_thread/thread/319177a5a9bb22a9/01b7544ac7203748) and a recent addition the to the Cycle plugin (see http://www.malsup.com/jquery/cycle/add.html) makes me think that creating JQuery+Cycle slideshows with progressive image loading à la Flash is within reach. In this perspective, the exemple given at http://www.malsup.com/jquery/cycle/add.html isn't satisfactory because the slideshow stops until all extra images are loaded.
[jQuery] Table Manipulation Help!
Hello all. I'm new to jQuery and Javascript. I've been trying to solve a problem since last 2 days.. :( Here is my HTML: <table border="1" id="test"> <tr class="msgold"> <td>1</td> <td><a href="1.html">2</a></td> <td>3</td> </tr> <tr class="msgold"> <td>4</td> <td><a href="2.html">5</a></td> <td>6</td> </tr> </table> In this table you can see that 2nd column has links. Now what I want to do is copy the respective links to 1st column. So, it should look like: <table border="1" id="test"> <tr class="msgold">
[jQuery] Table Manipulation Help!
Hello all. I'm new to jQuery and Javascript. I've been trying to solve a problem since last 2 days.. :( Here is my HTML: <table border="1" id="test"> <tr class="msgold"> <td>1</td> <td><a href="1.html">2</a></td> <td>3</td> </tr> <tr class="msgold"> <td>4</td> <td><a href="2.html">5</a></td> <td>6</td> </tr> </table> In this table you can see that 2nd column has links. Now what I want to do is copy the respective links to 1st column. So, it should look like: <table border="1" id="test"> <tr class="msgold">
[jQuery] easy way to get all input value
Hi, all Is there an easy way to get all the input values on a form into an object? Thank you very much! Jack
[jQuery] Ensure Textarea has been read.
Afternoon All, I have a form which includes a textarea, inside the text area I'm displaying the terms and conditions of a service which a user must agree too before continuing thier registration process. I want to have the checkbox which they must select to accept the terms and conditions to be disabled untill they have scrolled down to the bottom of the textarea. I'm a total and utter noob when it comes to jQuery and have a relativly limited knowledge of JS in general so would really appreciate
[jQuery] slider doesn't update on click, only drag
Hi, I'm playing with the slider: http://docs.jquery.com/UI/Slider I set the callback to fill in the value of the sliderVal div: $(document).ready(function(){ $("#mySlider").slider( { min: 1, max: 720, steps: 720, slide:function(e, ui){document.getElementById("sliderVal").innerHTML = $("#mySlider").slider("value") | 0 } } ); }); .... <div id='mySlider' class='ui-slider-1' style="margin:10px;"> <div class='ui-slider-handle'></div> </div> <div id='sliderVal'>sliderVal</div> But this only get's updated
[jQuery] Setting/removing CSS classes
This is related to my past DOM traversal question from a day ago. Long story short, I have a series of checkbox inputs within table cells. Upon a click event, the input, its containing cell, and the containing cell's next sibling should change CSS classes. According to Firebug, the class names are being changed correctly (running Firefox 2). Yet, nothing is happening. In IE7, only the input's class seems to be changing correctly. What's even more strange is that I get the same result using a non-
[jQuery] How to hide or remove values in an option select list
Hello, is there a simple way of hiding or removing values in a select list? For instance I have a list like the one below and I want to hide or remove two items: "asc.300-signage" and "asc.815-grounds" but when I try the following syntax $("option").val(["asc.425-signage","asc.815-grounds"]).hide() it hides all of the entries not just the 2 items I am after. Can someone point me where to look. I have the Jquery in Action book but I have not found a solution for my issue only general information for
[jQuery] Can I use $(document).css?
My first post appears to have gotten lost, so here it goes again. I was tinkering with jQuery when I got an idea: why not have a way to use the css function to put new rules into the document, not just styles on collections of elements? Something like: $ (document).css(selector1,rule1).css(selector2,rule2)...css(selectorN,ruleN); If this functionality already exists in jQuery, let me know the syntax; otherwise, please consider it for an upcoming version.
[jQuery] IE6 and blockUI Issue
Has anyone else experienced the following issue with blockUI and IE6? I am using: jQuery version 1.2.6 (05/24/2008) blockUI version 2.07 (05/17/2008) Below is a link to a SSCCE that should demonstrate the issue. http://myorangepeels.com/blockui/blockuidemo.html Try this: - Start with the window maximized - Scroll to the bottom and click "Block Page" - Resize the window (let's say to 1024x768 just to put a number on it) - Scroll to the bottom again Halfway down the page, the dark coloring associated
[jQuery] ajax: refering back to {data:}
Hi. When an jQuery.ajax({}) request completes, the success handler fires and i am returned the ajax jquery object. But the 'data' member is always url-encoded, the individual members of 'data' are no longer accessible without manual de-url-coding. Is this intentional? I need my hands back on all those 'data' variables, individually, after a request completes. I suppose i can hack something but i'd rather stay on standard source.
[jQuery] loop in $
Is possible to use a for loop variable ( i ) in jquery $, something like: for (var i=0; i<myCookies.length; i++) { $('#forum-list-[i']).hide(); } I need the "i" value in $. But my code not work. Any idea ? Thanks!
[jQuery] [treeview] Animation for adding branches
Hi, i've played around with the treeview jquery plugin these days. I modified the code for adding branches as it is shown in the demos a little bit and tried to add an animation to it. But i couldn't figure out how to do it. This is my code: $(document).ready(function(){ $("#example").treeview({ control: "#control", animated: "normal", collapsed: true }); $("a.add").click(function(){ var branch = $("<li>hello World</li>").appendTo("#example"); $("#example").treeview({ add: branch }); }); }); Is is
[jQuery] Does jQuery know what the user has done?
Have a row that when clicked runs a jQuery function. On occasion a cell may have a link. What I would like is for the jQuery function to know if the user clicked the cell with a link or anyplace else in the row. If the user clicked the link the function would not run it's AJAX stuff and anywhere else the AJAX stuff would run. Is this possible? If so how is it done? Alternatively, I could code each cell with either the jQuery function or a link. This would mean a lot more code and make the html much
[jQuery] Form Validation Plugin Required Dependency Expression Help
Hey everyone, I was wondering how to go about structuring validation code for my situation: I have 3 fields - all input fields I need to do the following: Check all values of the input fields and make sure at least one of the 3 fields are filled out (2 url's and 1 input type=file) I did find some examples for 2 field dependencies but could not find one where there were 3 in play. Any suggestions?
[jQuery] Validation Demo Question (bassistance.de)
Hi All, Im new to jQuery and I found it very powerfull tool and I really like it's validation plugin. I just have a question on the demo I found in the below URL: http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html My questions is, how can I add a custom validation there. Example, I want the form to accept only email addresses that are not yet existing on the database and how can I add a custom message to the error container (class="container"). I want to validate email address to
Next Page