jquery

Select all checkboxes with jQuery

Hello everyone! I need help with jQuery selectors. Say I have a markup as shown below: <form> <table> <tr> <td><input type="checkbox" id="select_all"/></td> </tr> <tr> <td><input type="checkbox" name="select[]"/></td> </tr> <tr> <td><input type="checkbox" na...

jqGrid - Undefined index: native_type ...eval()'d code on line 1..

I got this error! Undefined index: native_type in C:\wamp\www\avr\php\jqGridPdo.php(1) : eval()'d code on line 1.. This works fine in my machine but when I upload and test it in the linux server I got the error message (the grid works perfectly though)...Am I missing any configuration here..? The codes can be found here...http://www.t...

JQuery - Fetching a URL that returns 404 on first few fetches, then returns 200

Fetch a URL - mywebiste.com/blah.php --> returns 404 Fetch a URL - mywebsite.com/blah.php --> returns 404 Fetch a URL - mywebsite.com/blah.php --> returns 404 Fetch a URL - mywebsite.com/blah.php --> returns 200 // how do I loop until this the URL returns 200? Previously phrased: So I have a URL (foo) that I need to download after m...

Print a table in modx to send info for mail by eForm

Hi to all! my question is, how can i create a table with dynamic fields (i will explain this later), and send them values by mail with eform? In the table, on the left, i want to print all the document childs that are using template XX, and on the top, i want the user to specify how much collums he wants (besides the products/documents ...

jQuery Retrieve the contents of an array of divs

I have a collection of divs on a page with the same class name. <div class="ProductName">Product Foo</div> <div class="ProductName">Product Bar</div> I would like to be able to retrieve, iterate through and this case alert the ProductName div's contents. Currently I can retrieve and iterate, but I can't alert the individual contents....

jQuery fullcalendar - how to reduce the size of the calendar

Hi, I am using jQuery fullcalendar in my application. I want to display the calendar only on the right side of my screen but not sure how to reduce the size of the calendar. Right now it is displaying in the full screen ...

how do you convert a string into a Json object to return to a jquery getJson call

i have code in csharp that returns this string: {'dateTimeFormat': 'iso8601', 'wikiURL': "http://simile.mit.edu/shelf/", 'wikiSection': "Simile Cubism Timeline", 'events' : [ {'start': '1924', 'title': 'Barfusserkirche', 'description': 'by Lyonel Feininger, American/German Painter, 1871-1956', 'image': 'http://images.allposters.com/imag...

jQuery Intellisense Doesn't Work When Any Other JavaScript File Included

As the title says. If I include any other javascript file alongside jquery-1.4.1.js then intellisense for jQuery ceases to work. Any ideas why this happens? As always, I've had a good search around but without any luck, it should just work. Cheers ...

I cannot use JQuery in login page?

Hi guys I'm with a problem than right now i'm not understanding.. I'm using JQuery to render a icon "loading ajax" always than a request page is done. All my pages derives from master page, but login page doens't. What happens is that page (login) i cannot use jquery In login page im including to jquery library and using the followin...

dynamically add remove rows in table using jquery

I have construted my table as follows: <table id="dataTable"> <thead> <tr><th>Name</th> <th>Value</th></tr> </thead> <TR><TD>Scooby Doo</TD><TD>6</TD><TD><INPUT TYPE="Button" onClick="AddRow()" VALUE="Add Row"></TD></TR> </table> When the button Add Row is clicked, I need to ...

the :not operator in jquery

i want to select all elements without a special class. i used: $('body:not(.noFocusOnKeypress)').live('keyup' ... but it didnt work. and i have no idea why. ...

Keep client side class changes between ASP.Net postbacks?

I'm dynamically binding tables and sub tables using nested listviews. On the client side I have a piece of jQuery that is toggling the visiblity of TRs witin the tables in order to provide a group expand / contract view option. On postback I'm obviously loosing my class changes that I have applied via jQuery. I'm wondering what the best...

automatic selection in jquery select

Hello, When i use the following jQuery there is something wierd: $("input[name*=RELATIVE_symbol]").live("focusout", function(){ var fieldNum = $(this).attr('id').replace("RELATIVE_symbol_",""); var newVal= $(this).val(); if (newVal !="") { $("#SelectGroup option[value='"+fieldNum+"']").text(newVal); $("...

Jquery yesconflict

Hello, I have a website based on a joomla template. I want to add the dock from ndesign-studio.com/blog/mac/css-dock-menu I've built a sample page for this. Here is the code : <script type="text/javascript" src="images/eklenecek/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="images/eklenecek/interface.js"></scrip...

Does jquery makes the browser slow?

I'm using jQuery in my web page. Will this make the web page to load contents slow? Using jQuery is advantage than JavaScript or not why?... ...

Action indicator during JQuery each() function

How to do simple action indicator during execution of JQuery each(), is this possible? I have some problems with my JQuery code, i don't understand the behavior of it :/ I am new to JQuery. js code look like this: $(function () { $('#offer_discount').keyup(function () { //here i try to show my hidden div with action in...

Horizontal progress bar

In html and jQuery, how do you show multiple horizontal progress bars? I have an idea for class. Students vote on topics and as they vote, the progress bars move left and right. If you've ever participated in a poll on Adobe Connect, that's the kind of look I'm thinking about. It can be in html5 because I'll be the only person displayi...

What are the key codes for the right and left arrow keys?

What are the key codes for the right and left arrow keys? ...

ASP.NET MVC jQuery script added in View not working

Hello, In my view, I generate the HTML, and add some jQuery/Javascript code. The view is displayed in a div of my main page. The jQuery code I added is there but not working. When I place the same code directly hard-coded in the view that's work. In my view, it's as partial view (.ascx) I have something like this : <%= Model.GetMyScri...

Jquery UI: draggable with constraints?

Hi guys, is it possible to set constraints for a draggable obeject? I have this line: $("#info").draggable({ axis: 'y' }); i want this only to be draggable 200px towards the top. It should not be draggable towards the bottom? Is there any way to do that? ...