jquery

HoverIntent query not working (wildcard selectors and more)

I want to make a dropdown menu for my website with jquery... a couple of problems occur: The wildcard doesnt seem to work It won't select it's children with ul. HTML: <li class="px6RANDOM"> <a href="LINK"> <span>Disclosure</span> </a> <ul class="subMenu"> <li>1</li> <li>2</li> <li>3</li> ...

Error when i calling jquery in master page.

I have calender datetimepicker jquery. when I am calling this in simple aspx page then its working fine but when i am calling in the page where master page attach then its not working. Here's the code that I am using: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default11.aspx.cs" Inherits="Default11" %> <!DOCTYPE ...

How to write onshow event using javascript/jquery?

I have an anchor tag on my page, i want an event attached to it, which will fire when the display of this element change. How can i write this event? and catch whenever the display of this element change? ...

Detecting div height on resize [Updated]

I am trying to detect the height of a div that I am loading content into. This div does not have a specified height, as I am loading pages into it and they themselves fill up the div in different amounts. I think the code I am using is not working… The #content div is getting the correct height on document load, however I cannot get the...

How to wrap every 3 child divs with html using jquery?

First thing, i know i should use a server side language to accomplish this not client side like jquery but that's not the point, i'm just trying to learn how to use it to manipulate html. Heres the html: <div class="items"> <div class="boxgrid"><span class="cushycms"><a href="#"><img src="1.jpg" alt=""/></a></span><div class="cover"><...

Using JQuery To Access A Data Service/API Across Domains

Hi there I'm trying to access a 3rd party api over http using jquery .ajax (or .get, .post etc). The api resides on my machine at http://localhost:7777/server/&lt;method&gt;?&lt;args&gt; The server has a stack of methods to query its OLAP server such as login (which returns a login key to use with other methods), databases (that lis...

jQuery Coda Slider Plugin Tearing sides on Firefox 3.5

I'm currently using this jQuery Coda Slider plugin at www.ndoherty.com/demos/coda-slider/1.1.1/ with some custom code to make it auto-rotate. Works in all browsers but Firefox 3.5 on both Mac and WinXP. The issue is the sides of the slider seem to be tearing and it tears only partially so I suspect its a rendering issue. And if so I dou...

[jquery] collecting a textarea value

Hello, I have html like this <td> <textarea name="foot"><?=$e->foot;?></textarea> Preview: <div><?=$e->foot;?></div> </td> So how can i collect the data of textarea and load it into the div next to it with jquery. Also i have lot of textareas like this, so how is it possible to load the text entered with onchange to its next div. Th...

Remove an element AFTER animation completes

I'm using the following code to animate a div. When the animation finishes I would like to remove it. <script> $(function() { $("a.shift").click(function() { $("#introOverlay").animate({ height: 0, }, 2000) }); }); </script> Any help? Thanks ...

[jquery] ajax success response load to divs

Hello, I have three forms and using this jquery function $('form').submit(function() { $.ajax({ type: $(this).attr('method'), url: $(this).attr('action'), data: $(this).serialize(), success: function(response) { $('#setInfo').fadeOut('500').empty().fadeIn('500').append(response); } ...

jquery: get and add some data to a table structure

This is my tablestructure. <table> <tr> <td> <input type="text"> 1 </input> </td> </tr> <tr> <td> <input type="text"> 1 </input> </td> </tr> <tr> <td> <div class="sum"> </div> </td> </tr> I have a onblure event on the input fiel...

Adding jQuery conditional validation to dynamically-generated HTML

I have the following HTML scenario: <div> <input id="txt0" type="text" /><input type="checkbox" id="chk0" /></div> <div> <input id="txt1" type="text" /><input type="checkbox" id="chk1" /></div> <!-- etc --> <div> <input id="txtN" type="text" /><input type="checkbox" id="chkN" /></div> If checkbox N is checked, then textbox...

How can I paste the plain text version of the clipboard's contents into a jQuery lwRTE?

We are using the jQuery lwRTE plugin (http://plugins.jquery.com/project/lwRTE) to collect user input, and we have been quite pleased with its flexibility. We are only interested in allowing basic formatting, and the ability to customize the toolbar has been nice. One problem we have run into, though, is dealing with the additional (garb...

Unable to get jquery tabs nested

Here is the full sample script which demonstrates the problem, inner tabs company/department come up as list instead of tabs Edit: i have already tried what People have suggested that inner tabs should also be tabified via jquery but it doesn't work all the examples I have seen e.g. http://cse-mjmcl.cse.bris.ac.uk/blog/jQueryNestedMen...

Opera and ie cache <p class="hide">, so javascript doesn' work.

Hello, sorry my question is dumb. I have a simple css file with class hide, that makes an element hidden (wow!). I use simple javascript to unhide element: $(document).ready(function(){ var a = $("p.hide"); a.removeClass("hide") }); It works in Firefox, Chrome, but in Opera and IE I should manualy reload page to see an effect...

how to insert javascript code via jquery ?

hello, here is my code: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"&gt;&lt;/script&gt; </head> <body> <div id="example"> </div> <script type="text/javascript"> function insert() { var data = '<script type="text/javascript"> function test() { a = 5; }<\/script...

With JQuery Validation Plugin, I want to change the remote validation method

I'm using jquery validate plugin to validate an email address against a database using the remote method of this plugin. I need to check the email address is not in our database already. Originally, the script in combination with server side code simply checked for the email address in our database and returned true or false, this work...

Jquery hide/FadeIn problem using Google Chrome

Hello guys... This code works fine in IE8/7 and Firefox... But in Google Chrome i got a problem... My page have a menu, when the user click it, hide div blocos and shows the content (using url parameter setted in menu) My Jquery Code: $(document).ready(function() { $('div.blocos').hide(); $('div#divMenuBloco').show(...

jQuery validate - error message wraps over in IE6

I am using jQuery validate plug in. I have configured validate plug in for two text fields. Error message are displayed right below the text box in case of empty or invalid input in FF and IE7. Only IE6, displays the error message next to the text box and it wraps it from there. Any ideas how to fix this problem in IE6. ...

JQuery: updating tooltip

I have a tooltip attached to a div. the div is also draggable on dragstop event i need to change the value of the tooltip. However, since its on dragstop the mouse is still over the div and consequently the title="". I was wondering if anyone knew a way to accomplish this? Shawn ...