[jQuery] Jquery UI Dialog - default button (focus on the default button)
Hello I am using Jquery plugin Dialog and i can not figure out how to make the Ok button the first one from the left and selected. By default the selected button is one on the left, but I want Ok to be on the left. Anybody knows? Thanks
[jQuery] inserted html content doesn't respond to events?
Here's what I'm trying to do: Jquery: ************* $(".test").click(function(event){ event.preventDefault(); $("#testing").html('<a href="#" class="test2" id="1">test again</ a>'); }); $("#test2").click(function(event){ event.preventDefault(); alert($(this).attr("id")); }); *************** html: ************** <div> <a href="#" class="test" id="1">test</a> </div> <div id="testing"></div> ***************** Am I going about this all wrong?
[jQuery] how Jquery to get this json data ?
I want get a json data, but alaways err. anyone know, how to get softwareList.for001.id ? or get softwareList for001~for002 text ? r({ "softwareList": [ {'for001': {id:'for001', sType:'s', name:'test', fsize:'5MB', link:'a.b.c', revisionLog:['test'], programName:'a.exe'} }, {'for002': {id:'for002', sType:'s', name:'test', fsize:'5MB', link:'a.b.c', revisionLog:['test'], programName:'b.exe'} } ] }) thanks.
[jQuery] traversing ajax response with .find in Safari/Chrome
I'm trying to get a div from an html ajax response. my code is pretty simple [code] success: function(response){ var newItem=$(response).find("div#item").html(); alert(newItem); } [/code] This works fine in FF and IE, but Chrome and Safari both return null. I'm trying to find another way to write that, but It all seems pretty straight forward to me. Is there another way to get this other than .find?
[jQuery] dynamic generated elements action
Hi there, I have a problem, and I haven't found the solution after even ater googling a lot. I have a funtion written, which generates elements for example [HTML] <div class='generated'> this is a div </div> [/HTML] And then I've also written a function which should give an alert after clicking the div "generated" $(".generated").click(function(){ alert("boo"); }); But acctually it doesn't work at all ;/ What am I doing wrong? I'd be very gradeful for any tips Best regards
[jQuery] Help with JQuery checking 2 fields are same
I have a Username field and a repeat Username field. The repeat one calls this function $("#user2").blur(function() { $("#msgbox_check").removeClass().addClass('messagebox').text ('Checking...').fadeIn("slow"); if($(this).value == $("#user").value) { $("#msgbox_check").fadeTo(200,0.1,function() //start fading the messagebox { //add message and change the class of the box and start fading $(this).html('Inputted Username\'s match').addClass ('messageboxok').fadeTo(900,1); }); } else { $("#msgbox_check").fadeTo(200,0.1,function()
[jQuery] Event binding newly added jQuery objects
Each time I add new HTML to a div, either by .html('') or by .load... it looks great but it seems that the newly added html's event do not bind to the page's javascript/jquery. That means that a span or a div cannot be clicked even if it's been added. Any ideas how to solve this issue? Thanks
[jQuery] Regular Expression that works everywhere but in jQuery
Hey there, I'm trying to use JS to clean up the cruft from a Word doc when it's being pasted into a WYSYWIG editor. Word puts conditional comments like this in the HTML: <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url (#default#VML);} .shape {behavior:url(#default#VML);} </style> <! [endif]--> And I'm using this RegEx (I'm no RegEx-pert, but I've successfully tested it here (http://www.regular-expressions.info/ javascriptexample.html),
[jQuery] My First Plugin
Hi all, i'm trying to build a plugin that create ":hover" and ":active" rules in my form (to work with ie sucks). But when i call the plugin, i receave this error: "$("input").psHover is not a function". Anyone? Pastebin: <a href="http://pastebin.com/f20a1fea5">http://pastebin.com/f20a1fea5</a>
[jQuery] Cluetip with live
I'm currently using cluetip with livequery, but is it possible to use it with live too? $('#mydiv a.tooltip').livequery(function(event) { $(this).cluetip({cluetipClass: 'tooltipclass', width: 400}); }); Using the below code doesn't seem to work very well if the content has been dynamically added. I must hover a.tooltip twice for the tooltip to open up, and hovering a third time sometimes brings up broken tooltip content. $('#mydiv a.tooltip').live('mouseover', function(event)
[jQuery] Adding values from a variable number of select drop downs
Hello all, I am trying to add the values from a variable number of select drop downs. I have assigned each select element that I want to add a class of "weight" to make searching for them easier. The goal is to have all of the numeric values from each select element with the class "weight" added together and displayed in an html element with the id "grand_total" My code so far: <script type="text/javascript" src="scripts/jquery-1.3.2.min.js"></ script> <script type="text/javascript"> function
[jQuery] [treeview] Would like to limit toggle to the plus/minus icons
A few feature requests: 1. I want to be able to click on the text inside an LI-tag without toggling the tree. Just like in a filesystem, I want to select the folder, but not necessarily expand it's view. 2. Please keep up the good work!
[jQuery] Two galleries side by side - IE problem
Hello, I have two different horizontal carousels located sideby side in two table cells in a one row/two columns table (of course the images located in ul lists). In Firefox this is working fine, but IE7 expands the cells up to the total width that all images need resp. to the width the ul element is assignated (style="width:984px; left:-492px"), but IE doesn't regard the negative left value set by the js. I tried to use the ie7/skin.css stylesheet but it doesn't help with this problem I think. Thanks
[jQuery] 19kb or 56k? Confused with jquerys file size
Ok im obviously missing something here but on the JQuery home page it advertises the fact that its 19kb, when you actually download the .min file its 56k. Thats quite a difference! Is it possible too get it 19kb?
[jQuery] Target DIV on tab using AJAX
Hello, I have a series of tabs on my page that I'd like to have dynamic content inside. Throughout the course of reading over multiple issues, I've discovered that what I'd like to do most likely can be done; but I may be taking the wrong approach. First, a copy of my script block: <script type="text/javascript"> $(function() { $("#tabs").tabs({ fx: { opacity: 'toggle' } }); $('#link a').unbind().click(function(){ $('.link').ajaxContent({ target:'#content' }); return false; }); }); </script> My goal
[jQuery] Image carousel
In the jQuery documentation under animate there is an example as follows: $("#go3").click(function(){ $("#go1").add("#go2").click(); }); which is used to transform 2 blocks below the example code. I have an image carousel with 7 images in a row with right and left pointing arrows at either end. The right one has an id of 'right' and the left has an id of 'left'. I have the code working using a series of parallel animations that moves them along and rotates the right hand image back to the left hand
[jQuery] display children using jQuery
Hi, i need to debug jQuery code and i would like to know if there is an easy way to display (as alert or into FFconsole) the children tags of a particular element ? thanks <br clear="all">Al.
[jQuery] jeditAble.js+ Datatables.js
The demo that combines datatables.js with jEditAble.js athttp://www.datatables.net/examples/example_editable.html is not ready for prime time. As a database developer, I think this union is fantastic. I'll make a $100 donation to both jEditAble.js and Datatables.js if we can get a professional implementation of these two features. I created a demo at http://www.theateronline.com/jqjeditableDataTable.xzc which uses the ID tag in the TD element to identify field name and primary key. It's working partially.
[jQuery] equalTo Validation plug in
<div dir="ltr">Hello can some body help my. I have from with two combo box( all listing cities). I need to be able to validate the combo box value so if their value is different then submit the form else no thnaks </div>
[jQuery] How to validate two form validaiton-plug in
<div dir="ltr">Hello every one i am new and need to use Validaiton plug in to validate two from can some body help me thanks </div>
[jQuery] How to use the plugins into our project
Assum for example i want this plugin <a href="http://plugins.jquery.com/project/Plugins/category/20">http://plugins.jquery.com/project/Plugins/category/20</a> Add to list, How to customize this into my work area, Can some one share your ideas, thanks -- உங்கள் நண்பன் பரணி குமார் Regards B.S.Bharanikumar POST YOUR OPINION <a href="http://bharanikumariyerphp.site88.net/bharanikumar/">http://bharanikumariyerphp.site88.net/bharanikumar/</a>
[jQuery] $(document).ready and window.onload
I am moving an app to the jquery framework. There is a good deal of script that I don't want to load until the landing page is up, and this includes dom node creation and manipulation that I want to tie in to the jquery event structure. This would seem to dictate window.onload instead of $(document).ready for this portion of the code and I suspect tying into the existing structure might be a challenge. Would appreciate some guidance here on working with both from anyone with experience in this area
[jQuery] $.post() callback
Hi all, I'm running into some trouble using the jquery $.post function. I'm using it in my CMS to delete a page record and after the deletion to display the updated page with the just deleted page removed ofcourse. Needless to say AJAX comes in handy here because of the page refresh. Here's my code; $(document).ready(function(){ $('p.editblock a.del').click(function() { var table_id = $(this).parent().parent().attr('id').split('_'); if(confirm("Are you sure?")) { $.post('includes/inc/ajax/handledelete.php',
[jQuery] Clickable rotated image
I'm dynamically creating several <image> elements which I want to rotate with custom degree, append it to some div, and bind onclick method to them. I tried jquery-rotate and Wilq32.RotateImage, but they don't work like they should - it seems to me that call to rotate function somehow breaks a command chain. Are there any other jquery rotate scripts? My other question is more html then jquery related: is it possible to rotate clickable area rotated together with the image?
[jQuery] Browser independent top of offsetParent() hierarchy?
I want to find out if a particular absolutely positioned element on my page is visible. I want to use offestParent() to cumulatively add up the offsets from the 'root' of the document, and use $ (window).scrollTop() to find out the amount of scrolling. My code (excluding the calculation of the scrolling) is: var myelement = $("#elementtocheck"); var cumtop = 0; while (!($(myelement).is("body"))){ //this is the bit that I must be messing up cumtop += $(myelement).position().top; myelement = $(myelement).offsetParent();
[jQuery] RTL Superfish menu
Is there is why to make the superfish menu go from right to left and not left to right?
[jQuery] 2 tables with same td width
Hi, i have 2 tables, 1 contains only headers and another only the data. do not ask me why it is like...it has to :-) however, i must give/allocate the same <td> width to header and data cells. for that i was thinking to use jQuery. is there an easy way to synchronize <td> width of both table in order to make then look as 1 table (while scrolling data) ? or should i give an ID to each td and to call each <td> ID and allocate width of the headers table ? thx. <br clear="all"> -- Alain -----------------------------------------------------------
scrolling flash object
Probably more of a CSS question, but it's related to a jquery problem, I've implemented a jquery slider, with jquery scrollto plugin and my client has just decided they want a flash object to play a sound inside the slider, and these objects are rendering outside of the visible area of the slider.. here is the page: http://www.thebigtree.org/index2.htm any feedback would be appreciated.. You are probably going to tell me to embed the sound with javascript, but I'd rather find a quick fix for the
[jQuery] Face markers like in Facebook and Orkut album photos?
<div class="post-text"> Is there a jQuery plugins which can be used for implementing that face markers like in Facebook and Orkut Photo albums? Or anybody have any leads on how to start to build one for the same? Thanks, Saneef </div><br clear="all">+91 98861 35466 <a href="http://saneef.pixelring.net/phoogler">http://saneef.pixelring.net/phoogler</a> <a href="http://twitter.com/saneef">http://twitter.com/saneef</a>
[jQuery] AUTO: Michael Lawson is out of the office (returning 03/16/2009)
<html><body> <font size="2">I am out of the office until 03/16/2009. </font><font size="2"> </font><font size="2">I am out getting married to the most intelligent, beautiful, wonderful, and understanding girl I've ever met in my entire life. </font><font size="2"> </font><font size="2">If you need assitance please contact Leena Paulose or Laura Ashley Bridges. </font><font size="2"> </font><font size="2"> </font><font size="2" color="#808080">Note: This is an automated response to your message "</font><b><font
[jQuery] Subtract part of url to pass new url to variable
I have an image url --- it is enclosed in a href. "images/flavor/websites/oranges_id_t.jpg" title="oranges" How do I get the url MINUS the _t so it ends up being "images/flavor/websites/oranges_id.jpg" title="oranges" that I can pass to a variable of this ? -- View this message in context: http://www.nabble.com/Subtract-part-of-url-to-pass-new-url-to-variable-tp22375932s27240p22375932.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Hide/Show glossary page require for website using jQuery
Hi There I am trying to implement a glossary page (A-Z) for a website. Basically when I user clicks a letter e.g A all the glossary terms listed under A will appear below and all other glossary terms will be hidden. I have a very simple working version below, but at the moment I am having to manaully hide all other elements when a particular glossary term is clicked. I presume there is a easier way , maybe using a loop of some sort, but being new to jQuery I am struggling a littel. Has anyone done
[jQuery] z/OS install
<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] Jquery GridView demonstration is dead?
Hi I been trying for the last couple days to view the jquery gridview plugin demonstration site but everytime I go to it I get this error. [code] Fatal error: Uncaught exception 'Zend_Controller_Exception' with message 'No default module defined for this application' in /homez.42/ creamark/www/libraries/zf/Zend/Controller/Dispatcher/Standard.php:392 Stack trace: #0 /homez.42/creamark/www/libraries/zf/Zend/Controller/ Dispatcher/Standard.php(211): Zend_Controller_Dispatcher_Standard-
[jQuery] Jquery GridView demostration is dead?
Hi I been trying for the last couple days to view the jquery gridview plugin demonstration site but everytime I go to it I get this error. [code] Fatal error: Uncaught exception 'Zend_Controller_Exception' with message 'No default module defined for this application' in /homez.42/creamark/www/libraries/zf/Zend/Controller/Dispatcher/Standard.php:392 Stack trace: #0 /homez.42/creamark/www/libraries/zf/Zend/Controller/Dispatcher/Standard.php(211): Zend_Controller_Dispatcher_Standard->getControllerClass(Object(Zend_Controller_Request_Http))
[jQuery] selector query question
Hi guys, new to jQuery here.. I am trying to query xml using jquery and having some problem I need to query all the node under node A with name="test" if I do $("A").find(*[name=test]) it will return b,b1,c, d How do I query using "selector" to get only immediate child so I can get b,c,d (no b1) ??? help would be really appreciated ! Thanks example : <A> <b name="test"> <b1 name="test"/> </b> <c name="test"/> <d name="test"/> <e name="somethingelse" /> </A>
[jQuery] [cycle] trouble with transparent png in IE when using the cycle plugin
Hi I'm having some trouble with transparent pngs and the jquery cycle plugin on IE7: If you view the following: http://www.dianomioffers.co.uk/smartads.epl?id=100 you'll see that just when the images cycle, the transparent area goes black. I know that IE has some issues with png's but I thought that these were fixed in IE7, so I'm surprised I'm still seeing them. Can anyone advise why ... and more importantly, advise of a solution? Thanks Michael
[jQuery] getJSON being ignored
This is probably a simple problem, but I can't seem to find the fix. I have three getJSON events that work inside of a tab like form on a page. I load the page and navigate to the first tab, each tab has its own getJSON request. The first tabs getJSON does not fire and is ignored. Then I move to the second or third tab and those events work fine. I then move back to the first tab, then that getJSON event fires. Why would this be happening and how can I fix the problem? Thanks, David
[jQuery] [Job subcontract] Part-time jquery jquery-ui developper
Hi If someone knows a place to post jquery jobs, please let me know. We are looking for a subcontractor for a couple of our a week. Which may depend on the developer availability. If you're interrested, please send your resume, rate and contact information to jobs@vimba.ca Position : Javascript software developer Status : subcontract Job description : Analysis and planning Develop client-side solutions Librairy and system enhancements Technical and user documentation Create new technological and
[jQuery] [validate] different validation based on clicked button
I'm using ASP.NET, jquery and this http://bassistance.de/jquery-plugins/jquery-plugin-validation/ validation plugin. I have several asp:Button objects on my page. I have the validation working almost the way I want. I have several buttons that cause the form to postback to the server and I only want form validation to occur for 2 of them. Is there an easy way to ignore validation if the others are clicked and just allow the form to post? I also have several standard html <intput type="button"...
Next Page