jquery

Do you know a GUI designer for YUI or for any other rich javascript library?

The question says it all... We are shopping for a a rich javascript library and are about to choose YUI. The issue of (non)existence of a GUI designer will strongly influence our choice. ...

ASP.NET MVC jQuery migration from 1.2.6 to 1.3.2

Hi! I have a problem with jQuery migration from 1.2.6 to 1.3.2 in my project. The intellisense for jQuery in VS doesn't work. To test this issue I created new project, added jQuery to master page, built solution and checked intellisense - works OK. After this I deleted in solution this files: jquery-1.2.6.js jquery-1.2.6.min.js jque...

jQuery UI Draggable - need to modify element while dragging

Hi, I'm playing with Drag and drop funcitonality for the first time so I'm not entirely sure what I'm doing! I need to add a class to a "portlet" while it is being dragged. I don't want to use the clone functionality because I want the user to drag the actual element, I just want to nodify the element while it is being dragged and rese...

Scrollable Table using jQuery

Is there any good and light jQuery plugin out there make Scrollable Tables. I got one at http://www.webtoolkit.info/scrollable-html-table-plugin-for-jquery.html but that won't working non-IE and non-FF browsers. Thanks! ...

Call ASP.NET PageMethod/WebMethod with jQuery - returns whole page

jQuery 1.3.2, ASP.NET 2.0. Making an AJAX call to a PageMethod (WebMethod) returns the full/whole page instead of just the response. A breakpoint on the page method shows it's never getting hit. I have the [WebMethod] attribute on my method, and it is public static, returns string and accepts no params. I even tried adding [ScriptSer...

jqGrid Grouping Without Subgrids ?

Is it possible to group in jqgrid without using subgrids ? I just want a heading that spans all columns with the group title, not a subgrid with different headings. The only examples of grouping I can find seem to use a full subgrid. ...

Why doesn't this jQuery.post work with Perl CGI?

I'm trying to figure out why I'm not seeing params with $.post("/url/", {wtf: 2}). I'm using this perl: use strict; use CGI; my $cgi = new CGI; print $cgi->header("text/javascript"); print "'no'"; use Data::Dumper; warn Dumper({ (map {$_=>$cgi->param($_ )} $cgi->param), postdata=>$cgi->param("POSTDATA") }); When I issue a $.get("/u...

Problem with jquery :not selector

Hello, I'm having an issue trying to NOT select a tablerow with the function: $("tr").click(function(e) { var row = jQuery(this) //rest of code left off }); Basically it finds all tablerows and adds click functionality that will open a edit modal that has a row with textboxes that are populated with info from the tablecells. The pr...

best practices for <embed> javascript code

Hi all, I'm starting a project where I need to display my wife's picture books on her blog. I've got the books' data on a database - couchdb - and I want to write a player she can easily embed in her blog. I've got most of the player written in Html, JavaScript & jQuery. Next, I need to write the html and javascript code to encapsulat...

Detecting IE6 using jQuery.support

Anyone have any ideas on how to test for something specific for IE6 (and not IE7) using jquery.support? My problem is that IE6 supports :hover psuedo-class only for anchor elements and IE7 does support it for all elements (as FF, Chrome, etc). So I want to do something special in case the browser does not support :hover for all elements...

Appending HTML w/click event using jQuery

I want to append some HTML inside this div, and the HTML has to have a click event on it also. <div id="myID"> <p>hello, world!</p> </div> I want to insert a new div inside of the above div, and I want a click event on the new HTML I insert there. There will be some dynamic text inside the new div so it has to by dyna...

Is it possible to have jQuery.click trigger on the top element only?

I'm trying to make a site where the user can click on any element to edit it's css. I use the following to add the click function to all lis, divs and uls. $('li,div,ul').click(function () { alert(this.id); }); The problem is if I click on an li element, then I get the alert for that, and any element underneath it. (all the conta...

Show process status using AJAX and ASP.NET MVC

I have a method in my controller that kicks of a job on the server. I'll use a Ajax call (jQuery) to start this via a link on the page. This can take a while and I need to show some status on the page. I don't necessarily need "26% done ..." but more a status showing "working" or "done". How do a get jQuery to continuously pull for the...

jQuery head scratcher

I have some jQuery code that highlights which radio button is checked by turning on the border of the radio input's parent element (a div). The radio buttons all have class="colors", so my selector is "input.colors:checked". The problem is that it doesn't turn on the border when the page loads. For debugging I put the same statement...

Listen for multiple messages from the server using AJAX: JQuery

Hi I make an AJAX call to a PHP script like so: function convertNow(validURL){ $.ajax({ type: "GET", url: "main.php", data: 'url=' + validURL, success: function(msg){ alert(msg); }//function });//ajax }//function convertNow From the above all it does is receive a lot of text f...

dropdown menu looks weird in ie7

hi, i have a dropdown menu that isnt working in ie7 but works in other browsers http://redlineautoleasing.com/beta/ its using jquery but i cant figure out how to fix it , any clues? thanks ...

jquery/javascript access querystring/path

I've got a couple of tabs on my page and I'd like the switching between them to be back-button-able My idea was to let the tab-buttons link through to #tab1 and #tab2, and then let jquery pick up the #tabX and show/hide the relevant tab. Is this possible? How can i get access to the #whatever in the url from jquery/javascript? Thanks ...

Jquery: Trigger multiple actions from single events - or -

I'm trying to make a single event update two parts of the page. If you look at http://eddowding.com/clients/stack/OverviewLite.php you can zoom on the top graph by clicking and dragging an area. On release this updates one of the graphs on the page. I'd like it to update all of them. I think this is a jquery issue, not a flot issue, ...

Disabling links with JQuery

I have the following code which does a function similar to the way the comment link works here on Stackoverflow... when clicked it triggers a ActionResult and populates a div $(function() { $("a[id ^='doneLink-']").live('click', function(event) { match = this.id.match(/doneLink-(\d+)/); container = $("...

Why can't I access any properties on my jQuery-returned object?

Hi! I have the following javascript: $(document).ready(function() { $('#<%= DropDownList1.ClientID %>').change(function() { $('#<%= TextBox1.ClientID %>').disabled = $('#<%= DropDownList1.ClientID %>').selectedIndex != 1; }); }); When I change the index of the dropdown, nothing happens. I have tried to replace the cod...