Double quotes in Internet Explorer 7
Hello there, I am passing HTML values to a flash application using Jquery selectors. It works fine on most browsers but not on Internet Explorer 7 and I'm wondering why. After a bit of testing I found out that IE7 is not reading properly the double quotes inside HTML tags. Here is my code: <script type="text/javascript" language="javascript"> $(document).ready(function(){ var textToPass = $("#content").html(); alert(textToPass); </script> <div id="content"> <h1>Heading 1</h1>
[jQuery] [validation] Specify range with attributes
Hello I am trying to specify range validation as an attribute in order to have the validation rule as close as possible to the control. Trying to avoid having to specify the rules somewhere else. I am using jquery.validation 1.5.2 I have tried the following, but without luck: <input id='myid' name='myname' type='text' class='required' range='[100,200]/> The validation message I get is a "Please enter a value between NaN and NaN". Any help on this? Thanks Daniel BTW, this related thread is unanswered:
[jQuery] Simple next/prev controls for <select>
Assuming: <select id="selector"> <option value="0" selected="selected">Both</option> <option value="1">Red</option> <option value="2">Blue</option> <option value="3">Green</option> </select> <a id="prev">Prev</a> <a id="next">Next</a> Just wondering if someone has figured a simple jQuery function for moving through the a select list (using the above type of controls). The idea is that the Prev anchor would disappear if the first option is selected, and that the Next ancor would disappear if/when
[jQuery] I need WordFilter functionality, but cumulative
Hi, all. I've got a bit of a problem I hope is small(ish?) that I was hoping to get a hand with. I've got a layout I need to build where a user will initially be presented with a list of options that they'll then be able to whittle down by using tag-like terms. To accomplish that, I found the WordFilter plugin[1] which does everything I need, except for one problem: it fulfills the requirements in two separate implementations. The actual wordFilter() function provides for creating a list of links
animate hover
Hi, Halp! im stuck Y__Y. I have to animate on hover, 2 classes (.post and .viewPost), but the second class (.viewPost) animate actives all classes. >__<. See code: $(".post").hover( function() { $(this).stop().animate({ backgroundColor : '#e8e8d1' }) $(".viewPost").stop().animate({ opacity : '1' }); }, function() { $(this).stop().animate({ backgroundColor : '#f3f3e9' }); $(".viewPost").stop().animate({ opacity : '0' }); } ); Is it possible to activate the specific 2 classes once .post is hovered
how to loop through <ul><li> using unigue ID
I am trying to loop through my top level nav i.e <ul> <li> and then apply that class name to teh sub level menu of that particular top level. So essentially the clas name on the top <li> wil be applied to its sub level items. Here is my code, which isn't working at the moment - does anyone have any ideas: $(document).ready(function(){ var pageID = $('body').attr('id'); var uniquePageID uniquePageID =$("#site-nav ul li",this).attr('id'); $("#site-nav ul li."+uniquePageID+" ul li",this).each(function
[jQuery] run struts 2 action and display the data in a data grid jQuery
hi my goal: 2 - run struts 2 action and display the data in a data grid jQuery in general I want to make a prototype with jQuery crud struts-2 If there is one example, document or web page email me: ghassen_73 @ hotmail.
[jQuery] Help About Using JQuery With Struts 2
i Really Need Some Of Struts Form Submession Examples, That Will Help Me on my Current Project , i Tried hard To Add A New Client In my Database , But That's Not Working , this is the code ::> ----------------------------------------------------This Is My JSP FILE----------------------------------------------------- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:// www.w3.org/TR/html4/loose.dtd">
[jQuery] Treeview Plugin -- What are the options???
The documentation doesn't seem to detail the optoins and the demos use some but without any explanation of what options and settings are available. For example, what does 'Unique:' mean? Or 'Control:'?
[jQuery] Recommendation for an autocomplete plugin
Hi, I'm looking for a plugin which should be used to populate dynamically an <input> element, which holds the recipents of a message (the classic case) I have only two requirements: 1) the plugin should be able to insert an image in the dropdown list (the avatar of each recipient) 2) It should throttle submissions (not mandatory) Do you have a plugin to suggest me? Thank you
[jQuery] Point of loading the google maps api file
Hi, sorry, I may blind... <span id="gmap" style="display:none"> <script src="http://maps.google.com/maps?file=api&v=2&key=........ .... stuff to load the map details.... </span> <a class="plainPopup" href="#gmap">show map</a> When I load the page, the google api file is also loading, even I don't need it. I would like to load it only, if the user has clicked the map link to open the map. How can I do this? My jquery file looks like this: $(document).ready(function() { $('.plainPopup').click(function()
[jQuery] Transition effects for ajax, I need help
I looked everywhere, tutorial and forums and books and such, but I can't find help for my case. Everyone explains fadeIn and fadeout effects but not in conjunction with ajax. I also tried ajaxStart and ajaxStop but couldn't get them to work. So here's the deal: I call a js file from a php page. There is a function that does ajax things and changes the content of a div accordingly. The function works. Problem is with this transition: old content > loading message > new content because the fadeIn/fadeOut
[jQuery] Action struts 2 with jquery
salut mon objectif : comment exécuter une action struts 2 a partir de jquery travail demande :1- remplir une form et l'envoyer au serveur pour l'enregistrer dans la base des donnés 2- exécuter action struts 2 et afficher les donnés dans data une grid jquery en général je veux faire un prototype crud avec jquery-struts 2 S'il y a un exemple , doc ou une page internet envoyer a moi : ghassen_73@hotmail.
[jQuery] buggy .add()
Hi there! Maybe I missed smt, but seems like this is a bug: <div id="#xxx">xxx</div> <div id="#yyy">yyy</div> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> var e1 = document.getElementById('yyy'), e2 = document.getElementById('xxx'), $e = $(e1); alert($e.length); $e.add(e2); // or $e = $e.add(e2); alert($e.length); </script>
[jQuery] var set outside ajax call is not reachable
Hi, for some reason I don't the problem... This is part of a form check. I check the captcha code and it returns me a 0 - the test has failed. I set => hasError = true; I alert hasError and it returns "false" and therefore the next ajax function runs, which is not what I want... Why is the 'hasError = true;' is not avialable out side the ajax call? var codeVal = $("#code").val(); $.ajax({ type: "POST", url: "inc/captcha/captcheck.php", data:
[jQuery] Simple problem with createElement
I am creating an element with createElement and then appending it to a table and then after a few seconds, deleting it with a call to empty (). This works fine The problem seems to be that every time I create the element, I am creating it with the same id and after a few iterations, it fails. It will append the element to the table, but will not fadeout or delete the element properly. var obj = document.createElement('span'); $(obj).attr("id", "fieldstatus") .addClass("fieldstatus")
[jQuery] datepicker highlight individual days
Hi, Is there a way to highlight or enable for selection individual days ( not a range of days ) in a datepicker? Thanks in advance, Danny
Mutually exclusive Check Box
Hi I have two check box. My requirment is if check one check box the other check box should be unchecked. I don't know how to do this. Both should be mutually exclusive when checked. But both can be unchecked at the same time. Here is the HTML. <html> <head> <title>Check Box</title> <script src="jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ }); </script </head> <body> <b>Mutually Exclusive Checkbox example</b> <form name="myform">
[jQuery] Lava lamp navigation and coda slider on same page but only one works.. HELP!
The navigation works but the slider does not.... Driving me crazy! Here is what I got... Thanks! <head> <link rel="stylesheet" href="/assets/styles/codaslider.css" type="text/ css" /> <script type="text/javascript" src="/assets/scripts/ jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/assets/scripts/ jquery.scrollTo-1.4.1-min.js"></script> <script type="text/javascript" src="/assets/scripts/ jquery.localscroll-1.2.7-min.js"></script> <script type="text/javascript" src="/assets/scripts/
child of "this"
Hi all, I'm having a little trouble with selectors here - your help would be great! HTML: <div class="pro"> <div class="msk"> </div> </div> <div class="pro"> <div class="msk"> </div> </div> Now, I would like to add a hover event for each of the 'pro' divs, which fades out and in that div's child .msk div. How do I select the child .msk of the pro that is being hovered? I have tried: $(this + ' .msk') $(this ' .msk') $('.msk') selects both of the .msk divs. I got it working with this: $('.msk',this)
[jQuery] find and replace
hi by using the following code i am able to find only first occurrences of the keywords can anyone help me to make it work for all of the occurrences. thank you function test() { var keywords = ["got", "the"]; var el = $("body"); $(keywords).each(function() { el.html(el.html().replace(this, "<b>"+this+"</b>")); }); }
[jQuery] window resize not working in IE8
I'm testing on Windows 7 and have not checked to see if its related to that ... The following code does not run in IE 8: $(window).resize(function(){ alert("Stop it!"); }); Can anyone verify, Thx
[jQuery] jQuery next() to find <select><option>
Hello I am using jQuery next() and prev() to navigate inside <select><option> tags. problem is I am using <optgroup> too and can't find a way to make it work ex: <select> <optgroup label="Motion"> <option value="/m01/" >001</option> <option value="/m02/" >002</option> <option value="/m03/" selected>003</option> <optgroup label="illustration"> <option value="/illustration01/" >illustration01</option> <option value="/illustration02/"
[jQuery] Selector help needed
Here's my code: $(document).ready(function(){ $('#menulinks a').hover(function(){ setTimeout(function(){ $(this).stop().animate({ top : '40px', paddingTop : '40px' }); }, 1000); }); }); Before I added a timeout, (this) sufficed. With the timeout set, (this) did not select the hovered link. I tried another selector and it worked fine. How can I specify (this) for this situation? -- View this message in context: http://www.nabble.com/Selector-help-needed-tp23289341s27240p23289341.html
[jQuery] Toggle Elements Stops Working? Help!
http://mtschophouse.com/vero/menu/ Click on any of them, and they open up just fine, however, after this point they dont close, and you also can't open any other one, it just... stays stuck there. I had this working just fine, and in the process of working with wordpress and templating, obviously I changed something to mess it up. I have no idea what I did to get it to stop working. Halp! Thanks in advance guys Very Happy btw, its based on this: http://jquery.andreaseberhard.de/toggleElements/index.html
[jQuery] Need advice on app to
Need advice on app to duplicate functionality at bridalcanvas . com...Please point me in the right direction.
[jQuery] bridalcanvas . com code
Does anyone know where I can find a package that provides the functionality available at bridalcanvas . com? I believe it is based on jquery. Any help will be appreciated,
[jQuery] parent trouble
I have a nested (many levels) list, each item containing a link which, among other things should cause a child list (if there is one) to display. All child lists are hidden by default. <div id="section_list"> <ul> <li class="Section" id="one"> <a href="...">...</a> <ul> ... </ul> </li> <li class="Section" id="two"> <a href="...">...</a> <ul> ... </ul> </li> </ul>
[jQuery] Toggle Elements Stops Working? Help!
http://mtschophouse.com/vero/menu/ Click on any of them, and they open up just fine, however, after this point they dont close, and you also can't open any other one, it just... stays stuck there. I had this working just fine, and in the process of working with wordpress and templating, obviously I changed something to mess it up. I have no idea what I did to get it to stop working. Halp! Thanks in advance guys Very Happy btw, its based on this: http://jquery.andreaseberhard.de/toggleElements/index.html
[jQuery] A selector question
Hi, I have the following html and would like to find out how to select #subgroup under #group2. I tried $(#group2 #subgroup) but that didn't seem to work. Thank you. <div id="main"> <div id="group1"> <div id="subgroup"> ... </div> </div> <div id="group2"> <div id="subgroup"> ... </div> </div> <div id="group3"> <div id="subgroup"> ... </div> </div> </div>
[jQuery] Diagram plugin
Hi everyone, Does anyone know if there is a plugin to build diagrams like this http://raphaeljs.com/ I want to do something very simple like baloons with a connection Thanks in advance!
[jQuery] BlockUI 2.X ver. not ful screen overlay in WSS 3.0 new item list form
Hello everybody, first of all I want to say BlockUi plugin is very useful, perfect... but now I've tried it in my WSS (Sharepoint) web form. I want to block whole page, but it blocks just part of screen. When I click on horizontal or vertical scroll then the screen below is not overlayed and look like not blocked... Please help me to solve this issue... Thank you Vasek - Slovakia
Help! What script is this
Hi! I am new here and I am even new to Jquery. I know u guys can help me can anyone know or where I can found the script like this: http://www.dttiles.com/pages/itemList.a ... 47&numb=23 if u mouse over the image it pop up like this. Thanks I really appreciate ur help
[jQuery] Diagram plugin
Hi everyone! I'm trying to find any diagram construction plugin. I don't need anything very complex like http://mindomo.com/ just a way to connect some "baloons". Does anybody know if there is a plugin to do that? Thanks a lot!
[jQuery] Re-implementing Ext-js webapp using jQuery
I want to use jQuery to re-implement a webapp that was originally implemented (by someone else) using Extjs.<div> </div><div>The only things I like about Extjs are the uniform look of its widgets and the broad range of widgets it supports. But I find Extjs too big to find my way around, and often slow.</div> <div> </div><div>I know that I probably can find a jQuery plugin for any widget I could want, but, from what I've seen, there is not much uniformity of appearance (let alone implementation)
[jQuery] Fading text in/out (like a text slideshow)
I have a small portion of a page which will contain a set of animated text snippets. Item one will appear immediately, then fade out; item two will fade in, pause, then fade out, etc. At the end of the sequence item one will appear again repeating forever. It's basically a slideshow of styled HTML text. I'm hoping to keep this simple, without the need for a big slideshow plugin. I wrote this: $('#animatedQuotes').html("number one").fadeIn(2000).fadeTo(5000, 1).fadeOut(1000).html("number two").fadeIn(2000);
[jQuery] div contains <li> -> select div but NOT li
Hi everyone, I would appreciate some help with what I wanna do. I explain my problem : I want to do a map-like: It means a div with background images, and some elements on it (a bit like in google map : you have the map in background, and stuff you can click over it. well i have this code : <div id="plan"> <ul> <li>....</li> <li>....</li> <li>....</li> </ul> </div> I would like to select #plan but NOT the li element inside. I tried some stuff but didn't succeed. I'm sure experts from here will solve
[jQuery] Menu / prev()
Hi, i'm trying to create a Tree Menu as follows <ul> <li class="nav_main_inactive">Category A</li> <li class="nav_sub_inactive">Category A, Subcategory A</li> <li class="nav_sub_inactive">Category A, Subcategory B</li> <li class="nav_sub_inactive">Category A, Subcategory C</li> <li class="nav_main_inactive">Category A</li> <li class="nav_sub_inactive">Category A, Subcategory A</li> <li class="nav_sub_inactive">Category A, Subcategory B</li> <li class="nav_sub_inactive">Category A, Subcategory C</li>
[jQuery] Plugin help: need dropdown (stylable in IE)
Hello, Searching for dropdown in the plugin repository yields dozens of results, most of which have no comments. So I'm hoping someone out there with experience using the kind of plugin I need can chime in. :) Currently I have a SELECT field that contains theme names. Upon choosing a value in the select, the user hits a submit button and the page reloads, now with the new theme var being used to load the right CSS file. This presents a problem because we've customized the dropdown area (see attached
[jQuery] [treeView] Problem with treeview and Firefox 3
I use the jQuery plugin treeView with jQuery 1.3.2 I have a long list (over 500 items), each item with 3 links . Exemple : <ul> <li>first item <a href="action1"><img src="icon1" /></a> <a href="action2"><img src="icon2" /></a> <a href="action3"><img src="icon3" /></a> </li> <li>second item <a href="action1"><img src="icon1" /></a> <a href="action2"><img src="icon2" /></a> <a href="action3"><img src="icon3" /></a> </li> </ul> With IE8, Opera, Safari and Google Chrome : no problem. Display the tree
Next Page