jquery

JQuery BlockUI with UpdatePanel Viewstate Issue

I have an update panel within a div that I modal using the JQuery plugin BlockUI. Inside the UpdatePanel is a textbox and a button. When I enter something in the textbox and click the button I am unable to retrieve the text in the textbox. When I debug it shows the textbox having no value. <asp:UpdatePanel ID="upTest" UpdateMode="Condit...

jquery ui date, setting date from icon

I've got a datepicker in an asp.net web app that has today's date set by default. We have an icon that when clicked needs to clear this date (and potentially add 'dd/mm/yyyy' as text back in as some descriptive text on date entry). I've added an icon and created a click event handler on it but I'm having issues setting the date to nothin...

how do I figure out what jqGrid is sending over to the server before it is sent?

using jqGrid and using Advanced Searching... but I want to snag the "query" that is being sent over before it is sent (so the user builds it once, I can "save it off" somewhere and then resend it later). but I can't figure out how to grab it... can anyone help?? ...

JQuery BlockUI with UpdatePanel Viewstate Issue

I am using BlockUI to show a modal. Within the blocked modal I have an update panel. Within the update panel I have a textbox and a button that submits the content back to the server. Everything works fine up to this point (the blockUI is called, the modal appears, and the button performs the postback). However, when the button's click e...

How to display jquery qtip tooltip for overlapping divs

I have a series of 'crosshair image' divs on a webpage which are moved with jquery and absolute positioning. I would like to display a qtip tooltip when the user's mouse moves over these crosshairs. The problem is that quite often these divs will be overlapping but qtip tooltip is only displayed for one of the divs, not all of the divs...

jTemplate currency with 2 decimals

I need to display a currency within a jTemplate. {parseInt($T.product.Details[0].Price).toFixed(2)} displays as 34.50, but i should be displayed with a comma like 34,50. I tried several functions to replace the point with a comma, but no luck so far. Anyone who can point me in the right direction? Mark ...

Reducing repeated code, jQuery

Ok, so this works perfectly well now however i'm reckoning it could be more optomised as there is a lot of repeated code. Anyone care to have a go? var myObj = { gender:'', age:'', children:'', income:'', stage2select:'', day:'', spend:'', categories:'', product:'', price:'', quantity:'', ...

DataTables jQuery plugin nowrap for Ajax table

Hi All, Can someone give me an example of how to add a nowrap="nowrap" to a column when all information is generated on the fly for an ajax table? $('#results').dataTable({ "fnRowCallback": function( nRow, aData, iDisplayIndex ) { $(nRow).attr('id', aData[0]); return nRow; }, "bAutoWidth": false, "sPagi...

I want to build Href using onclick Event. Add parameters from hidden fields on the page to Href

I am looking for the best solution for my problem. I am currently using a asp.net gridview with a link in the first column and the id to the item it relates too. Details href=.../page.aspx?ID=25 I have 3 hidden fields that I would like to bring with me to the next page. I want the url to look something like this. Details href=.../page...

jquery overlay ajax form post

im loading a external page from flowplayer overlay and im trying to submit a form in that page via ajax, and its reloading the page. when i browse the file directly it works fine but when its in the overlay it reloads the page on submit. is there anything to configure that it will load the jquery file and submit via ajax? thanks this...

Autocomplete Search Component for TextBoxes in ASP.NET

I'd like to use a component similar to the Tags autocomplete component used by Stack Overflow in my ASP.NET 2.0 application. What can I use? ...

remove the default phone number sample while entering

Hi ,sample site The above is the sample site , please look the phone number textfield in that site , How they are doing such thing, how to show the default phone number format value in the phone number text field , and how to remove that format while user entering the phone number, Is there any jquery function there, or we have t...

OO JavaScript: Accessing another method of the same object?

I have a JavaScript object called ShippingUI: function ShippingUI(){ ... } It has several methods: ShippingUI.prototype.UpdateItemQTYs = function(ItemJQOBJ, NewQTY) { ... } ShippingUI.prototype.EH_SortableRecieve = function(event, ui) { ... } The "EH_SortableRecieve()" function is a drop event handler. When it runs, it n...

jquery div contents real width

i have a div tag <div id="openfrag"> <script language="JavaScript" src="http://ad.uk.doubleclick.net/adj/BA_HOME/HP_Public_MSB; dcopt=ist;sz=728x90,468x60;tile=1;lan=en;ord=1265795605?" type="text/javascript"></script> </div> above script tag is third party url that may returns either image or flash object or any other of any size.. ...

Need help checking all checkboxes...

Any idea why this code is failing? I'm doing the exact same thing somewhere else, except I'm using a DIV with an ID for my selector. This time I needed to use a "CLASS name" as my selector, but it doesn't work. All I want to do is check one checkbox and have it check all the checkboxes that have the same class name. Any help is appre...

remove a single overlay in googlemaps

Hi, does anyone know if it is possible to remove the overlay where I previously drew a polygon? I don't want to use clearOverlays because it will remove all the markers also, instead I want to just hide the markers. Thanks, Richard ...

Link to new popup-window, print area of document

Hello I was wondering how you best open a new window and show a view there using mvc? and is there a way to using jquery or similar, to print an area of a document? lets say everything within a div? /M ...

Javascript switch statement with wildcard?

If my javascript ajaxes away to my server and returns an ID of 49 in the plain text format of [49] is there a way in which i an do something like this... (i have tested and doesnt work) switch(data) { case '[*]': (..etc.) break; } Where the wildcard is the * and i want to make sure it is enclosed within two square pare...

How to add several classes to ul list

How can I add severeal classes to ul list? I dont want to add it to every li items but jsut some of them. ...

jquery Modal pop up and IE8?

hi all i have a question about jquery Modal pop up and IE8 i am using jquery library jquery-1.3.2.min.js and i wrote a jquery Function to show a modal pop-up on click event of a certain button ,,this modal pop up contains a grid-view which is bonded with data-view to view data ..the problem is when running the application on Mozilla Fir...