How to know what elements are in current mouse position?
I need know what elements are in current mouse position and I'm using jQuery. ...
I need know what elements are in current mouse position and I'm using jQuery. ...
I use ASP.NET MVC with jQuery and have a lot of Ajax requests to my controllers. Use Partial Views (usercontrols) to build the intial view when a page is loaded. Then if I need to append/replace data based on my Ajax request I build HTML from the Json response. This approach gives me full control, ie. I can get extra information back f...
I have form to upload images.. what i want is to process the form by ajax and after success show jquery thickbox.. ...
I need to get list of elements all css attributes. How can I do that ? ...
Hi, i am having a Div like <div class="float_left" id="fb_contentarea_col2_dropingarea"> <div data-attr="text" id="div1" class="field_div_style1 rounded_edges1"> </div> <div data-attr="text" id="div2" class="field_div_style1 rounded_edges1"> </div> <div data-attr="text" id="div3" class="field_div_style1 rounded_edges1 f...
Hi! I was wondering how I would go about implementing this: <div id="1234345" class="item"> <script type="text/javascript"> function getItem() { alert($(this).attr('id')); // I want this to be 1234345 } getItem(); </script> </div> <div id="1239345" class="item"> <script type="text/javascript"> function getItem() { alert($(this).attr('i...
I am having a set of pages where in I am using JQTouch jquery library. How can I see the page source after an Ajax call. I suppose the DOM gets replaced, but when I see the page source I am not able to see the updated set of contents. This is hampering my debbugging. Does anyone know of some way to see the page source.... ...
I am learning how to create plugin and have problem in how to create my own customized selector. If I have a table with nth row and nth column below <table id="myTable"> <tr><td></td>........<td></td></tr> . . . <tr><td></td>........<td></td></tr> </table> and I would like to create a plugin that has a selector that...
Hi there, I want to add css class on buttons of a jquery dialog box. Here is my code : $(document).ready(function(){ $('#messageBox p').html('bla bla bla. Ok?'); $('#messageBox').dialog({ modal : true, buttons: { 'Yes': function() { doSomething(); $(this).dialog('close'); }, ...
handle should not be at the center it should within the bar<Here---------------------Here> ...
I am using HtmlBox 2.8 (http://remiya.com/cms/projects/jquery-plugins/htmlbox/) This jQuery plugin turns a TextArea of your choice to RichTextBox editor. In FireFox 3.5.3 I can not get focus (cursor) into the textarea. If I click on "Html" button which switches to HTML view, the control gets the cursor and editing is enabled both in HT...
Hi guys Need a little help again. Say I have an unordered list, and I want it to always have an even number of li's in it. How can I use jQuery to count the number of li's, and add one blank one at the end, if the number is odd? If you're wondering why, I have a dropdown where the "ul li ul" is twice the width of the "ul li ul li" so t...
This is royally annoying me at the moment: Consider an array of 2 values: var myArray = new Array(); myArray.push(21031); myArray.push(21486); When storing this in a cookie using jquery and toJSON, the value of the cookie looks like this: ["21031","21486"] Now consider an array of a single value: var myArray = new Array(); myArra...
It seems like in jQuery when an element is not visible width() returns 0. Makes sense, but I need to get the width of a table in order to set the width of the parent before I show the parent. As noted below, there is text in the parent, that makes the parent skew and look nasty. I want the parent to be only as wide as the table and ha...
Is there any good jQuery gradient plugin. I found one, but it uses old jQuery, when I use latest, so it probably won't work with latest version. ...
I am using the jQueryFileTree at http://abeautifulsite.net/notebook/58 and I want to distinguish between the dblclick and click events as a click is always triggered by a dblclick. Googling about led to be a technique in which click is handled by a timer which kicks in when a dblclick does not cancel it. Is there some way this can be u...
First view the page I am having problems with here: http://3hqidiots.com/onthespot/calendar.html I am using the slider found here: http://ennuidesign.com/demo/contentslider/ to slide different calendars. It loads perfectly in all browsers but ie 6/7. In ie 6/7, the first calendar loads with a left margin. Then you slide to the next cal...
I am using Explorer Canvas r3 with the jQuery plugin BeautyTips. I receive this error when I hover over the beauty tip, htmlfile: Unknown runtime error. In the previous version, it would just fine. I need to upgrade to this version for IE8. Thanks for the help! ...
I have the following: window.setTimeout(function() { window.location.href = 'file.php'; }, 115000); How can I, via a .click function, reset the counter midway through the countdown? ...
I have some HTML like this: <a class="button"> <span> <span> <span class="buttonspan">Content</span> </span> </span> </a> I already have some events on the parent Anchor object. Now I am trying to add a click event on to the child span element and at the same time to disable click events on the pare...