jquery

How can I change jQuery jQGrid Subgrid Caption

Need help in changing the caption of the subgrid of jQgrid also can I designed it based on my want's? When it collapsed it will show a certain layout out? ex: id: 200-2010 thanks! ...

Random natural movement jquery

Hi, How can I recreate this type movement with jquery for images: http://www.istockphoto.com/stock-video-12805249-moving-particles-loop-soft-green-hd-1080.php I'm planning to use it as a web page background. If it is not possible with jquery I'll go with flash as3. But I prefer jquery. ...

get html of external url in jquery

How can i get external URL's HTML using jquery? ...

checkbox with toggle()

can anyone spread some light? Why this .toggle() is breaking the checked/unchecked state of a checkbox? $('#checkbox').toggle(function(){},function(){});​ when I think, it's just doing nothing. crazy demo this was taken from comments of this answer ...

jQuery mousemove animation

Hi guys, I'm using the mousemove event handler with jQuery: $(document).mousemove(function(e) { updateDownloadPosition(e); } ); It works perfectly in Chrome but every other browser I've tried the mousemove event isn't fired until the mouse stops moving, instead of constantly every time it moves. --EDIT-- Ok so as Tim Down rightly p...

jQuery selectable with context menu

Hey guys, I just installed jQuery UI and got its selectable working with a simple table and its rows. To add a bit more functionality I added a context menu using this context menu plugin. If I use every element on its own, it works. But if I add the selectable and the context menu to the same elements in my DOM only the context menu ...

Actionscript 3, JQuery SWF Object plugin and ExternalInterface problem.

Hi. I'm trying to write a simple flash mp3 player while using JQuery and it's SWF Object plugin. I'm adding an swf to the page using this code: $("body").append("<div id='player_external' style='position:absolute;top:0;left:0;height:1px;width:1px;'></div>"); $('#player_external').flash({swf:"player_external.swf",wmode:"transparent",hei...

jQuery UI dialog: window appears at the right of the screen in chrome and safari

anybody else had this problem, do you know how to fix this ? my code: var currentFormconfirm; $(function () { $("#dialog-confirm-confirm").dialog({ resizable: false, height: 220, width: 400, modal: true, autoOpen: false, buttons: { 'Yes'...

Jquery get all ... inside this or $(this)

how can i get for example all links inside a all ready selected jquery element (this) $("#container li").each(function(){ $("this a").each(function(){ // links inside this li element }); }); This does not work is there a other way? ...

How to split content with jquery after certain amount of divs

I have a form like this: <div class="content"> <form> <div class="item"> blablaform stuf </div> <div class="item"> blablaform stuf </div> <div class="item"> blablaform stuf </div> <div class="item"> blablaform stuf </div> </form> </div> Now I want to wrap a few of the item di...

Make swf file a link using Jquery

I've been sent a swf file for a banner that needs to be linked to a url. I am adding this to my client's website and my client has been sent the swf and javascript to add to the page. The problem is that the javascript code is overly complex, and I'm wanting to use Jquery and Unobtrusive Flash Objects (I've not yet updated to swfobject o...

Correct Syntax for ui and nth-child call?

I'm still a bit new on jquery selection syntax (and jquery in general). I'm not exactly sure how to get this call to work. I'm using a function that gives me an event and ui. I'm using the stop event in sortable and I'm trying to get the nth-child (first) from this element and then trying to clear it's class. right now I have: stop : ...

jQuery selector behaviour in IE7

Anyone know why: var strId = "xyz"; var oSectionOuter = $( "div#myr-body" ).find( "div#" + strId ); works in IE7 (actually IE8 with "Compatibility Mode") with the HTML below, but this doesn't?: var strId = "xyz"; var oSectionOuter = $( "div#" + strId ); According to Microsoft's "excellent" Javascript debugger, oSectionOuter ends up...

Delay function of jquery to load ?

I want to delay blocking by 2 seconds while executing this code. How can I do that ? I tried setTimeout but it did not worked. document.getElementById('<%=btnSave.ClientID%>').disabled=true; document.getElementById('<%=btnSave.ClientID%>').value='Saving...'; $('#Block').block({message:'Please wait...',css: { border: '3px solid #a00' }})...

Firebug breakpoints in dynamically generated jQuery?

So Firefox+Firebug seems to be the tool of choice for debugging jQuery. Its certainly very handy. I can get breakpoints in JavaScript code that was there when the page originally loaded (the breakpoint-able lines show up with green line numbers in Firebug). But when jQuery code gets returned by an Ajax call, I can't get breakpoints to ...

select the DIV but not the link inside it, jQuery question

I have the following div: <div class='amazingmenu' id='menupull'> <img src='images/down.png' width=20 height=20 align='right'/> <div id='menupullhideme'>click the arrow to read the rest!<br /></div> more jokes on <a href='http://www.amazingjokes.com'&gt;amazingjokes.com&lt;/a&gt; </div> clicking the DIV or the image should...

jQuery Performance: Why are my animations getting choppy when I add other (unrelated) divs?

Hi folks, I'm trying to brush up on my jQuery & have done up an (easing) slideDown menu. Upon first coding the nav the animation ran smooth, but after adding more (unrelated) div elements to the page, the animation gets very choppy very quickly. The problem can be seen here: http://travelancing.com/forrum/index.html (navigate over the '...

jQuery how to get select change the image,ajax work in multiple form?

i need to select change some data and change image in own form each from will have own preview image. each image will get attr name "imagePreview" from selected the option. if nothing in attr or imagePreview="0" will do nothing here some of my working scrip but when I change option all image preview in DIV tag will change not just in th...

jquery remove duplicate li

<ul id="myid"> <li>microsoft</li> <li>microsoft</li> <li>apple</li> <li>apple</li> </ul> I want to remove duplicates from li by using jquery. How can I do that? ...

jquery get label value from dropdown

Hi there I know I can get the value using $("#dropdown").val() does anybody know how i get the label? Cheers ...