jquery

SlickGrid and asp.net sample or tutorial

Hi, I am a newbie using SlickGrid. I have searched some of the sample apps out there but I am still stumped. If anyone can refer a sample or tutorial on SlickGrid using Asp.Net doing the following: Get data via JSON Implement paging, sorting, searching Pass the selected rows key to code behind for processing or call a codebehind funct...

Can jQuery Coda-Slider rewrite the title of the page on tab change?

We are building a site with Coda-Slider and are wondering if its possible to change the title of the page when changing tabs (without having to refresh the page)? I'm not that great at jQuery yet (let alone straight javascript), so I'm not sure if this is even possible. We're using version 2.0 of Coda-Slider and loading the latest jQuery...

Jquery autocomplete on / off functionality

Hello everyone, I am working on website (built using PHP, Mysql, Jquery) which require that admin set a variable in configuration and according to that configuration variable Jquery autocomplete is enabled or disabled to all website. Is there any way to achieve that functionality. Please help me, its very urgent........ ...

How to add css to form elements if attribute class is already being used in Jquery

Hey guys This is probably a dumb question - I'm using Jquery to validate the form. So the form elements have the class="required" attribute. input type="text" name="last_name" class="required"/> Now if i want to apply some css properties to the input fields of this form - how do I do that. I do not want to declare a general css fo...

How to Add/remove row in table in jquery when we check and uncheck the checkbox in other table?

hi i have one table where i have select the row by checking check box. I wanted to add selected checkbox rows to another table which is dynamically created when some one check checkbox. I am waiting for you response ...

jQuery UI problem: why do the elements go flying around the screen?

Yes, I know the title sounds a little suspicious. I will try to explain this the best I can... The code below is supposed to have the blue div slide down beside the red div. (Directly to the right - using the position() utility of jQuery UI) The first time you hit the Show the div button, it works. Also, the Hide the div works. Then wh...

Getting all selected checkboxes values using ajax and jsp/servlets?

Hi.. I'm developing a jsp/serlvet application. I have a page with a list of inputs as checkboxes . I want to send values of selected buttons to a servlet using ajax/jquery. In the servlet , I want to extract these values and use them . for example: The user checks some checkboxes , for example, list of messages. He/She presses Dele...

top rounded corners in my jquery

Hello everybody, I have this jquery for my menu buttons, what I want is to get top-corner rounded for my menu, this is a whole code: <html> <style type="text/css"> #menuBarHolder { width: 860px; height:45px; background-color:#000; color:#fff; font-family:Arial; font-size:14px; margin-top:20px;} #menuBarHolder ul{ list-style-type:non...

String.fromCharCode & CharacterSets

Hi Folks, I recently tried to mirror some input within input(text) fields. Using String.fromCharCode(event.which) for instance, translates all 'standard' characters correctly. Well it translates them all to uppercase, but that you can easily catch by looking up the shift key aswell. My Problem is, it can't translate characters like...

Is it possible to set the width of a jquery autocomplete combobox

i am using this jquery ui combobox autocomplete control out of the box off the jquery ui website: my issue is that i have multiple comboboxes on a page and i want them to have different widths for each one. i can change the width for ALL of them by adding this css: .ui-autocomplete-input { width:300px; } but i can't figure o...

pass php array to jquery with getJSON

updated: i use this: $.getimagesarr = function(operation) { return $.ajax({ type: 'POST', url: 'operations.php', data: {'operation':operation}, async: false }).responseText } var jsonstring = $.getimagesarr('getimg'); var data = (new Function("return " + jsonstring))() if (data){ .... } old: i want ...

remove/unbind hover on anchors...

html <a href="home.html">Home</a> css a { color: blue; } a:hover { color: red; } now as you can see <a> now would be color red on hover. Question How do I remove hover via jQuery? I have tried: $('a').unbind('hover'); and $('a').unbind('mouseenter mouseleave') I come to think why it won't work, is this not hover()? Please e...

jQuery: Replace strings with .each()

I want a function that replace each li with an image. This is my code: $(document).ready(function(){ var tmphref; var tmpname; var str = '<a href="' + tmphref + '"><img src="http://www.somesite.com/a/' + tmpname[1] + '/avatar-small.jpg /></a>'; $('#somediv li a').each(function(){ tmphref = $(this).attr("href"); ...

jQuery .data() : possible to increment (++ or --)?

Whats the best way to increment a value in a jQuery .data() object? ...

How is multiple selection working in this example?

The relevant snippet of HTML: <span class="a"> <div class="fieldname">Question 1</div> <input type="text" value="" name="q1" /> </span> The relevant jQuery: $.each($('.a'), function(){ $thisField = $('.fieldname', $(this)); }); What exactly is being set to $thisField? If my understanding of multiple selectors in jQuery is correct, ...

How to get the result of jQuery PageMethods function

I have posted a similar question to this problem and could answer it myself, but the solution does not fully satisfy me. Using Asp.Net/C#, I have a button which will perform some server-side code if it passes a client-side validation. I want to do it this way because for my application, I think it suits best. <asp:Button runat="server"...

jQuery $(document).ready() failing in IE6 but only after clearing Temporary Internet Files

I'm experiencing problems with $(document).ready not getting executed in IE6, but only after clearing the Temporary Internet Files (so in fact the very first time this page is loaded). On refreshing the page or on later page loads, everything works fine. This is the current setup: Portal page with frames, this portal page also has a w...

IE not showing jquery append() images

Ok, so i took John Raasch's slideshow script and modyfied it too dynamicly fetch images from multiple folders on the server through ajax. The slideshow work like a charm in FF and Chrome but IE is not showing the images. And since IE's javascript debugging possibilities is close to none I cant figure out what is crashing. Some of the va...

jquery ui datepicker if no active mondays left at the end of the month

I made that only mondays are active in each month like this function onlyMondays(date){ var day = date.getDay(); return [(day == 1), '']; } But at last week of the month there wont be any active mondays left so i want to show next month in ...

C# Session In Webservices Problem

Hi I have webservice in asmx file: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. [System.Web.Script.Services.ScriptService] ...