I have different functions I need to perform based on the which handle was used for resizing. I tried the browser event object by using event.target but it returns the element being resized, not the handle.
Does any one have any ideas of how to know which handle is being used?
Is there a way to attach ajax events to only certain requests. Every time I attach ajaxStart, ajaxComplete, beforeSend, etc. to any ajax request it attaches the event to all ajax requests. I want to specify only some. I have a site that is pretty much built and runs and different ajax requests. Only a few of them take long enough to need to display a progress bar. I don't see any way in the documentation that will allow to specify events to happen on only certain requests. Does any one have any ideas how to work around this? I'd rather not duplicate a function or call the a function myself on all these.
I am trying to manipulate the contents of an iframe. I have always had success with this in the past but I am stumped this time. The following code works in FF3x but not in IE8.
The first alert comes in correctly while the second returns "null".
Please let me know if you have any ideas. Thank you in advance for your help!
var objIframe = $('<iframe></iframe>').attr('src', '/includes/blank.jsp').attr('id', areaIfrId).addClass('areaIfr').attr('frameborder', '0').width(objW).height(objH).appendTo(areaParent).attr('allowTransparency', true).css({
I think it would be great to have optional IE fixes such as $('#myDiv').zIndex({ above: '#otherDiv #thatDiv', below: '.firstDiv #nextElm' }); or $('#myDiv').solveIEBug('double-float-margin'); This way we can target a specific element and fix the issues or state how they should be fixed with jQuery.
I need to get the css hover color of an element. Since hover is a pseudo class of a class or id, I do not see a way of returning the color. I tried: $('.contentArea a:hover').css('color'); but it does not return the hover color. I understand that jQuery probably traverses the inline styles and there is no way to set the hover pseudo class inline, hence the reason for the .hover function. Is it possible to find and return the hover color with jQuery. If so how?