.val(value) and ASP.NET TextBoxes
I have an ASP.NET TextBox with AutoPostBack=true. When I run $(myInputElement).val(value); in Internet Explorer 8, the AutoPostBack no longer works. I'm guessing that the problem lies more with IE8 than jQuery, since none of the other browsers break, but I'm curious if anybody else has seen this problem or knows of a workaround?
jQuery 1.4.1: .empty() and .html() efficiency issues
I ran into an issue with .empty() (and eventually .html("")) while attempting to build a filterable table. The root of the problem stemmed from the fact that this is a fairly robust table with numerous child objects per row. When running .empty() on the tbody, I found that the .remove() and .removeData() functions were being called 8500+ times during the course of 1 .empty() call. This ends up accounting for roughly 87% of the processing in my situation and jumps the processing time from 180ms to
stop() function does not work correctly
[edit] i moved this post to using jquery, hope that here are more people so that somebody of them can helb me. Thx anyway [/edit] http://forum.jquery.com/topic/stop-on-a-fading-element-don-t-work shows one question, in my opinion its a problem. $(".menuitem").hover( function(){ // $(this).stop(True,True); $(this).fadeTo("slow",1); }, function(){ $(".menuitem").stop(True,True).fadeTo("slow",0.5); } ); in my case all menuitem
jQuery Documentation isn't as easy to read
I know I'll probably get kicked for saying this but I found the older documentation easier (faster) to skim through. The initial left navigation is what I miss most. The moment you click on one of the links that left navigation expands on the following page. Not sure the bigger fonts help much either in the main body.
slideToggle is being inconsistent
I am using slideToggle in a web form. The intended result is to have a checkbox that, when checked, reveals more nested options. Every nested option should be hidden by default. This works some of the time, but with the exact same code, at other times it just shows it by default, and checking the box makes it go away. The web form is in ASP, but all the ASP works fine. "createCheckboxJS" is a function that basically creates a working checkbox that takes on the characteristics of any Javascript
jQuery and IE8 not behaving
Hi There, Having a problem with IE 8 not behaving properly with jQuery tabs, dialog boxes and not executing javascript.I have a form that submits to an asp.net mvc site and returns the following to the browser <div id="EditComplete" title="Edit Complete">Changes Saved.</div> <script type="text/javascript" language="javascript"> $(document).ready(function(){ $("#EditComplete").dialog({ buttons: { "Ok": function() { $(this).dialog("close"); } }, draggable: false, show: 'highlight', hide: 'highlight',
offset() problem
Hi, I'm new here! I'm having problems with the offset(coords) method. here's the code $(this).hover(function() { var liHover = $(this); longName.text(liHover.find("span.hide").text()); var coords = liHover.offset(); longName.offset({top: coords.top - 4, left: coords.left - 8}); longName.show(); …This is a part of a function of a object that, if a list entry is too long, it shortens it and displays a custom tooltip with the whole name if you make an hover on it it. To display
jQuery.event.special['type'].add modifies handler of other types
I am not able to find the thread in the new forum so I am opening a new one. old thread: http://groups.google.com/group/jquery-dev/browse_thread/thread/a42f9b06cd6af10a/1af5e4e54238a11a The release note of jQuery 1.4.1 mentions that this bug is fixed (http://dev.jquery.com/ticket/5779), but from my testing it is not. Here is the new test case: http://jsbin.com/ofiyo
Links have _blank in editor but open in same window.
Using Chrome, when I insert a link, it is set to open in _blank by default. But when I click the link after posting, it still opens in the same browser window. I'll check if it's ok in FF. (Chrome, written manually, appears to work): www.google.com Seems to work here, but in another post by myself, it is broken: http://forum.jquery.com/topic/jquery-data-or-html5-data-xxx#14737000000696061 -- Aivo --
Cookies and Tabs not saving Content info
I am using the jquery-1.4.1, JQuery UI 1.8rc1 and jquery cookie plugin and trying to add tabs. The cookie creates fine and the info (Content: TAB ID) in the cookies changes as it should when clicking on different tabs. However when you hit reload in the browser the cookie Content: is reset to 0 where "I think" should be read from the cookie and load that TAB ID. This worked in Jquery 1.3 and UI 1.7. I have not found an update of the cookie plugin so I have attached the code at the bottom. If I am
jquery-1.4: append() escapes htmlentities
While changing an application form jquery-1.3.2 to 1.4 I discovered a problem with append. When I use $("#FOUNDIT").append("⇧ Here you are.")to append the text to an existing div-container, then jquery insert "&#x21E7; Here you are." with jquey-1.4. While using 1.3.2 the entity is inserted "as is" and on the page the arrow appears. But when I put a <span></span> around the text, it isn't escaped. Is this a bug or a feature? Greetings, Rene
Problem with selector context
I'm currently implementing a simple chat for my website and have a problem. I want to update the chat messages and the currently active users with ajax. I know how to do it with 2 ajax calls but I want to do it in one. I have a file which returns the entries and users like this: <div id="entries">These are the entries</div> <div id="users">These are the users</div> My jQuery ajax request looks like this: $.ajax({ type: "GET", url: "chat.php", success: function(retHtml) { var entriesHtml
UI Tabs "not well formed" and "junk after document element"
Using the library 1.3.2 and 1.7.2 (jQuery and jQuery UI respectively) I receive the above errors when retrieving an HTML pages content via a tab call. Even using the demo included, I receive this error: "junk after document element" and it points to the first line. It seems to be trying to retrieve it as an XML document. This is both on my custom version (which is really basic) and the demo (which is also pretty basic). The test is 100% reproducible. The list would be as follows: <li><a href="#tabs-1"><span>Home</span></a></li>
Exploding Sideways!
For some reason when I switch to UI 1.8, the explode effect on my dialog window "explodes" to the left instead of evenly out in all directions. Is this intended or a bug? Using jQuery 1.4.1, UI 1.8rc1
jQueryUI show()/hide() on click() does not work in Firefox 3.6 (Mac)
I use the following code to show/hide divs. It works just fine in Safari/Opera/Chrome. The page loads OK in Firefox (I get my show() effect), but if statement does not work in Firefox 3.6 for Mac. It seems that the jquery ":hidden" selector is busted? $(window).load(function(){ $(".page").hide(); $("#page1").show('slow'); //handle click $("a.nav").click(function() { var $source = $(event.target); var $myPage = $source.attr("href"); if($($myPage).is(":hidden")){ //Firefox
jsonp request on same domain fails
Hi... ...I'm using jquery 1.3.2 and I notice that if I do a jsonp request on the same domain it fails without error: ex: this doesn't work: http://www.mysite.com/mypage.htm http://www.mysite.com/jsonp.php this works: http://www.mysite.com/mypage.htm http://mysite.com/jsonp.php I know that jsonp is used for crossdomain requests and this issue is not a real problem but I think that is strange... thanks Marco
whole zip file downloads when trying to d/l TR theme only
First, great work on UI. It's beautiful. I'm trying to d/l TR themes individually. I've already d/l the entire thing once with the lightness theme, but now even when I deselect all, I get all files, including the jquery library file, core, all widgets, effects, everything. I'd rather not have to download everything twenty times, and then pick through each unzipped directory to pull out the necessary files (not that I know what they all are, but I would get it figured out.) Even when I go to the d/l
IE bug : Using Shadow filter adds extra size to elements, so does height(), width()...
I already created an issue about this, but since there are new facts there, I thought creating a forum entry could bring attention on this again. Sorry if that's a bit overwhelming... So see http://dev.jquery.com/ticket/6014 for new developments.
UI Dialog with iframe
Hi, I would like to use UI Dialog with iframe. I use the commad $('<iframe src="someURL"/>').dialog({autoOpen: true}); to open new dilalog. My problem: When I call dialog.open(), the Browser produces two requests to the server. One of them is never ending. There is the similar problem, when I call dialog.destory(). I found this (uiDialog.next().length && uiDialog.appendTo('body')); at row 4321 in jquery-ui.js of version 1.7.2 in the open method. I thing this line do nothing because there
1.4.1 does not seem to like UI 1.8rc1
With 1.41. + 1.8RC1 In IE8 I get very often "Stop running this script? It's slow..." and only thing that makes it go away is to stop loading UI totally. I get these breakpoints from IE debug console (in varying order) when stopping the script: Operation aborted jquery-1.4.1.js, line 3629 character 7 Operation aborted jquery-1.4.1.js, line 3628 character 35 Operation aborted jquery-1.4.1.js, line 3628 character 23 After I stop the "slow scripts", my script still results good data (drags/drops,
1.8rc1 dialog position
Hi guys, i want to open my dialog on position ["center",20]. This works great as long as the viewport is bigger than the current dialog. But if not, than the dialogs position is left: center, but top:-130 (for example) Here is my overlay-call $("#overlay").dialog({position:["center",20], width:431, height:300, minHeight:false, minWidth:false, modal:true, draggable:false, resizable:false, dialogClass:"customOlay"});
$.contains in jQuery v1.4 is not consistent in all browsers
In jQuery 1.4 $.contains doesn't return boolean in all browsers - e.g. check the following in IE8 and Firefox: alert($.contains(document.documentElement, document.body)); I noticed you are using "compareDocumentPosition" in browsers that support it, however, it currently returns 16 or 0 in these browsers instead of the desired true/false. Replacing the following line: return a.compareDocumentPosition(b) & 16; with the following: return !!(a.compareDocumentPosition(b) & 16); in "sizzle.js" fixes the
Error with http://plugins.jquery.com/project/Plugins/name
HTTP CODE 500 @kswedberg Start from http://plugins.jquery.com/ click "all plugins" in the left menubar and the 500 error is here :D.
Select option attribute selector issue in Firefox
Using jQuery 1.4.1 in Firefox 3.6 I'm working in a system that automatically inserts options into certain SELECT elements. I always know the text that is being inserted, but not necessarily the value. If I'm trying to get a certain option using the [text=] attribute, it returns null if I include the text in quotes in Firefox. e.g. var myindex = $('#fielddiv select[id="mc.route.stepstatus.step9"] option[text="Work Inprocess"]').attr('index'); If I leave the quotes off of the [text=] selector, it
IE 7 Receiving a Parse Error Calling a Web Service
I'm using 1.4.1 and I have two html files, the first one contains $(document).ready(function() { $('#recordHit').load("http://localhost/soapcall2.html"); }); the second file, soapcall2.html contains just the following (no <html/>,<head/> or <body/> tags) <script> var ServiceUrl = '/ws/'; var CreateSession = ServiceUrl + 'general.asmx?op=CreateUserSession'; var AddRecord = ServiceUrl + 'record.asmx?op=CreateRecord'; var TerminateSession = ServiceUrl + 'general.asmx?op=TerminateSession';
Problem with 'special' event implementations in 1.4
I posted a bug recently at http://dev.jquery.com/ticket/5967, and after a bit of investigation this seems to be a more generic problem with the way that the 'change' and 'submit' special (ie browser unsupported) bubbling behaviour is implemented. If the special events are being used (eg in IE), and more than one event is bound to a given object, then unbinding any one of these events will unbind all of them. This seems to be fixable by renaming the 'remove' function in jQuery.event.special.change/submit
overlay preventing basic keyborard "browser" functionality
I was playing with the dialog overlay (modal) and noticed that in trying to prevent the user from interacting with the page under the overlay, it is also preventing the use of some basic browser functionality. Basically the overlay captures a list of events (focus,mousedown,mouseup,keydown,keypress,click) and says that if the event did not happen in the current dialog then prevent the event. This works fine for mouse events, but when it comes to keyboard events it is also preventing access to the
Issue with Slider demo
If you head to the Slider demo and click the "Multiple sliders" example, any sliders you load after that one become vertical. Steps to reproduce: Load Slider demo Click any of the first few examples and note they're horizontal Click the "Multiple sliders" example Click any of the other examples and notice how they're now vertical Tested in Firefox 3.5.7 and Chrome (Windows).
404 on Resizable demo
http://jqueryui.com/demos/resizable/ gives a 404 on jquery.bgiframe.min.js The full location is http://jquery-ui.googlecode.com/svn/tags/latest/external/bgiframe/jquery.bgiframe.min.js Ticket filed: http://dev.jqueryui.com/ticket/5133
Width / height animation resets caret position in Firefox
Greetings, When a user clicks inside an input field, I want to change its appearance a bit. The point is that it then becomes clear that the field is editable through an animation. This should happen while keeping the cursor/caret right on the spot where the user clicked. This seems rather obvious, but it does not work in Firefox in certain cases. I created this simplified test case: <html> <head> <title>Test</title> <style type="text/css"> input { width: 150px; height: 40px; padding:
jQuery forum navigation
I'm using Internet Explorer 8. When I click on a post to read it, and then want to return to the last page, I'm having problems. There's no 'breadcrumbs' feature to allow me to easily back up. I tried just using the browser navigation, but clicking on the back button doesn't work properly. I have to click several times to get the navigation for this site to respond. This issue does not occur at other sites, so it's not just the browser. Also, it would be nice if pressing 'Enter' after filling in
Using sortables on images causes placeholder issues
Basically, see here: http://jsbin.com/ayige Firefox (and possibly some other browsers?) do not let you style an empty IMG tag with a width/height, so there's a broken placeholder under your sortable. Chrome seems to do just fine though and apply the width/height to the image. I've fixed this on my site once already in the past (forgot to report this), but noticed it pop up again when I updated to the latest files. My fix was basically to put ".attr('src', 'url to a spacer gif')" in the _createPlaceholder
Ajax .load() doesn't shows perfet on IE
Hello everybody, I'm developing this website: http://www.wpbrainiac.com/demos/radioimperial/ But now I have a problem... Just on IE it's not loaded right... If i put any <script> tag on my page to load, even if it's an HTML comment (<!-- <script> ... -->), the jQuery loads, and the jQuery response says SUCCESS, but doesn't show like needs to show on the screen :( If i delete the script tag, it shows perfect on the whole IEs (ie 6, ie 7 and ie 8) Does anybody have any idea what is happening? what
Strange behavior when using .live with mouseenter & mouseleave
I am just wondering if I am doing something wrong, but it looks like a bug to me - when using this code the submenu is displayed, then if I used bind - everything works, if I instead went for live, when I try to hover the submenu it disappears. I guess it has something to do with the live event not being handled properly (mouseout fires when leaving the parent LI and entering the first LI child of the UL child, but mouseleave should not fire because the LI child is actually contained in the mouseout-ed
jQuery-1.4.1 - $('input').live('change', ...) in IE8, IE7
IE seems to skip the first change event in the following case (also at http://jsfiddle.net/d8jjj/11/). Note that the event seems to fire every time *after* the first one, just not the first time. <!doctype html> <html> <body> <input type='text'> <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js'> </script> <script> jQuery(function($){ $('input').live('change', function(){
$(window).is('div') returns error (jQuery 1.4)
$(window).is('div') (or any other element) returns "g.nodeName is undefined". This may be expected behavior, but this worked normally with 1.3.2 (returned false).
jQuery.ajaxError()
jQuery.ajaxError() is not working on v. 1.4. See comments on: http://api.jquery.com/ajaxError/
button release outside
Hi, Their is a problem with the "button" jQuery-UI widget, when I click on a button and release outside, it stay on "over" state
Draggable div IE bug
This may not be a problem with jQuery, probably with IE, but here's my situation. I have a grid of divs in a container and they are all draggable. listItem.draggable({ revert: "invalid", appendTo: "body", helper: "clone", start: function(event, ui) { $(this).css("visibility", "hidden"); }, stop: function(event, ui) { $(this).css("visibility", "visible"); } });As you can see I wanted
14 days of jQuery - Day 12 Paul Irish video
I'm not sure if this is the right place to report this but I can't seem to view the video by Paul Irish? I don't think its been fully uploaded? http://jquery14.com/day-12
Next Page