jquery

Adding Dropdown list to the particular column..using jquery

hi, Hi I need to append the dropdownlist box with certain values to the jquery grid column, that is default dropdownlist for perticular column.... I am using this type of jQuery grid http://www.trirand.net/demoaspnetmvc.aspx can anyone help me out.. Thanks ...

Grab only 2 items from Jquery Loop

Here is my Jquery $th.each(function(idx) { var notSelected = $(this).text(); if ((notSelected.indexOf(to) != -1) || (notSelected.indexOf(from) != -1)) { if (idx < 10) { $(this).show(); // and show its corresponding td $td.eq(idx).show(); } } }); It is part of a table...

form validation message inside textbox

How to make validation something like this screen shot..! is there any jquery plugin ,will do the validation... my screebshot ...

how to retreive the row value on click

var RowClick = function() { ("#Grid").click( var s = $("#Grid").jqGrid('getGridParam', 'selarrrow').toString(); alert(s); $("#showgrid").load('/Inventory/Products/List/' + s)); }; on RowClick i am trying to get the value of that row to send throw URL.. to access this Row value in my Actionresult ...

Jquery dialog box - doesn't fade out before closing

I have div(box) on my page and I'm using this script to display div as dialog box. Inside that div I have a hyper link, On click of the hyper link I want to fade out the dialog box and close.. The content of the dialog fades out, but the border of the dialog box remains same. If I add $("#box").dialog('close') to the click function afte...

More info about your jQuery.youtubin post to overcome IE security warning

We've used the youtubin for jquery on our page and we still get the security warning in IE. Did you do more than simply use the script? ...

jquery slider jump to height glitch

Does anybody know how to fix the glitch in jquery where the sliding block jumps into place when it is a large block being slid. Example http://jsbin.com/emoba5/5/edit Click on posture two to see the jump. I have seen some fixes like this one http://jqueryfordesigners.com/slidedown-animation-jump-revisited/ but have no idea how to im...

How can I force Javascript garbage collection in IE? IE is acting very slow after AJAX calls & DOM manipulation

I have a page with chained drop-downs. Choosing an option from the first select populates the second, and choosing an option from the second select returns a table of matching results using the innerHtml function on an empty div on the page. The problem is, once I've made my selections and a considerable amount of data is brought onto ...

jQuery problem with sortable based on jQueryUi

Hello @ all, I am having a problem finding the bug which is coming up with one script. I get following error in FireBug: uncaught exception: Syntax error, unrecognized expression: ) The problem is caused somehow inside my base.js, guessing the sortable function does not want to work with my jQuery version. Please have a look at ...

javascript increment index in funciton

I'm just trying to figure out how to create an index inside a function so I can keep track of the items its generating and I'm not sure how to do this seems like I should know this.. addLocation(options,location) funciton addLocation(options,location){ $('#list').append('<li class="location"><div>'+location.label+'</div>'+ ...

Code behind methods vs. Jquery AJAX calls

Theres a war brewing I can feel it! Old school coders are used to having every server control create events in the .cs files.. for example.. Getting the Initial load of data, Saving Data, Deleting data... and then binding datasources to the server control.. New school coders want to do it in Jquery + AJAX calls to .svc files... That g...

jQuery Colorbox background transition effect?

I find the background transition of the jQuery Colorbox very 'hard'. I couldn't find a setting where I can specify a custom transition. Is it possible to create a fade-effect for the background like Nyro Modal has? ...

JQuery Tabs - Styling issue on page content load

Hello guys, First tab on my page has a lot of content, including text and pictures. This probably causes visual issue: Once user loads the page, for a second, he will see regular html list instead of styled tabs with background. Something like this: Tab One Tab Two Tab Three All javascripts and css are loaded on top of the page...

javascript - change the alpha of an image

How can I change the alpha of an image in javascript? Also, what browsers support this? ...

jQuery - Can I animate css properties? Background-image particularly

I know I can fade in and out divs and elements, but can I animate properties as well? I thought about this just now when changing background-image property of a certain div. And thought it'd be cool if the background image was faded in as well ;) Here's the code I'm using to replace background image. But can it be animated? var origina...

OpenID and Iframes

hey guys, I'm having a little bit of trouble making OpenID work from within an iframe. basically I have some heavy handed content loaded on the main page and I want to build a log in system where the page doesn't need to be reloaded (and thus reload all of that content again). I fell in love with OpenID from using stack exchange websit...

jQuery droppable accordion

I've been playing around with trying to create a droppable accordion for a little while, and haven't gotten it to be very responsive. When I drag an item over the accordion, it takes 5+ seconds for the accordion element to open (if it does at all). Sometimes I have to "wave" the dragged element over the accordion element. I know I r...

jQuery attribute auto added to elements

After using the IE8 built in Developers Tools for the first time, I noticed jQuery is attaching an attribute to some of my elements: I've never noticed this before. In fact, this doesn't show up in Firebug... I'm only seeing it for the first time now in IE8 Developer Tools. Does anyone know what jQuery uses this for, and why it's hidde...

Applet preventing focus in IE

I've tried to implement a cursor focus on an input area and IE has given my a lot of headaches. I've tried things along the line of (changing the timeout too, to large numbers): setTimeout(function() { document.getElementById('myInput').focus(); }, 10); and it won't work. I've noticed that I have an applet on the page as well, and whe...

Adding nice colors to events in FullCalendar (jquery)

In my calendar I want to colour each event in a different colour. Is there currently a way to send to the full calendar, in the JSON it expects a value for a colour? FullCalendar ...