jquery

How to always show scrollbar in browser using javascript?

Hi there, I want to always show vertical scrollbar in my webpage. How it is possible using javascript? I think it is possible using javascript or jQuery. I want vertical scrollbar whether there is enough content to show or not. thanks. ...

jqGrid - inline editing with autocomplete

Hello, I am sure that I saw it already in an example but can't find it again :( I have a jqGrid with inline editing. That works fine. One column has a select box with 200 entries. Those get retrieved from a database query already. Since 200 entries are too much, I want to have an input field and a live search. Once clicked on it, the ...

Pass object to WCF service using JQuery

Hi, I know there are questions on here asking exactly the same thing, but despite me reading them I'm still missing something and hopefully you can help! It's very simple, using the WCF template that is added by VS! Interface: [OperationContract] [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat...

Why Doesn't jQuery use JSDoc?

Or do they and it's just not in the source? I'd really to get something that will stop js-doc-toolkit from freaking out each time it parses jQuery. It also means I can't properly document any code using jQuery as a dependency without at least putting some boilerplate js-doc blocks, which fail to properly document jQuery's structure. Is t...

JQuery UI Autocomplete multiple values

Hi, I'm having a problem with the AutoComplete with multiple values. I can even re-create it on the jQuery demo site - here What happens is if you search for something, then delete your search and enter the same search nothing happens. I have tried to turn off caching (setting to 1 like the documentation states, or even 0) assuming tha...

JQuery fadeto animation with callback problem

Hello guys! Here's my code: function hideColumnAndShowOther(columnToHide, columnToShow) { $(columnToHide).fadeTo("slow", 0.0, function() { $(columnToShow).fadeIn("slow"); }); } In this case the callback function isn't called. I have used the firebug tool to get the root of the problem. In...

how to set height of ListBox to auto.

I have Html listBox: <select id="targetField" multiple="multiple" name="D1" style="width:200px;"> <option>INDIA</option> <option>USA</option> <option>UK</option> <option>AUSTRALIA</option> <option>RUSSIA</option> <option>FRANCE</option> <o...

$.post returning (empty string)

Hi guys, I am trying to populate a table using jQuery $.post, but I keep getting (an empty string) when I log the data using firebugs console.log(), here is the code, jQuery: $.each(data, function(i, json){ //get the system names $.post('get_system_name.php', {product_id:json.product_id}, function(data...

javascript / jquery using a variable to reference diferent parts of a json/xml object

I'd like to create a function which can cope with JSON in the following nested format. The keys will change ie conditions - could be anything and the subcondition key could be anything but the structure remains the same. My function is defined as populatePageEditorMenu: function (jsonPath, topLevel, childLevel){ and called by ...

getting a specific adjacent element in jquery

hello, if I have the following table: <tr class="alternate"> <td>{$order.titel}</td> <td>{$order.auteur}</td> <td>&euro;{$order.prijs}</td> <td>{$order.aantal}</td> <td>&euro; {$order.aantal*$order.prijs}</td> <tr> and inside jquery I currently have the 4th td selected, how can i get the data from within the first...

jQuery Fading/Invisibility

Hey All, How can I make a <h3> fade out or just hide itself on my page after a few seconds once the page has loaded? ...

How do I properly load the jQuery fullcalendar plugin in a hidden div

I'm using the jQuery tools tabs to divide my page into tabs. One of those tabs contain a jQuery Fullcalendar. Because I load JavaScript last in the page for speed and to avoid flash of unstyled content, I hide the initially unseen tabs using display:none. When doing this, the fullcalendar doesn't render properly. It shows the proper butt...

optimizing value check in this jquery validation

Hi everyone! I've got this validation script for my form (a survey). It loops through all answers, and checks if it is a radiobutton, a checkbox, input or textarea question. Based on that, it respectively checks for an input with the value checked (both radio and checkbox), or a value other then "" (input/textarea) (it's not that much,...

how to validate fields present on a popup using jquery?

Hello, I have popup having multiple fields, earlier I had a separate JSP page for these fields and I used jquery validate plugin to validate the fields but now since these fields are present on the popup I am not able to validate them. Any solution to this problem? Thanks! ...

EasySlider 1.7 not showing my last image.

Hello, Using easySlider 1.7 I've got it all configured how I'd like it but the last image of my 3 shows up then disappears. Then it loops the 2 images again. The other 2 hang around for 5 seconds then the 3rd moves in and it gets swallowed up. This is my easySlider code: $.fn.easySlider = function(options){ // default configuratio...

How to load child node in jsTree

Hello everyone, Sorry for my poor English, my system want to change javascript tree from KoolTreeView to jsTree and I read the document and implement it. The result is something like this Food * Fish * Beef * Chicken my javascript and div code <script class="source" type="text/javascript"> $(function () { $("foodtree").jstree({ ...

jQuery $.post string escape problem

Hi guys, I am posting data to a php file via jQuery's $.post method, but for some reason the string comes out escaped on the other side, like so, Sent: company_name="company" Received: company_name=\"company\" Any idea what could be the cause? Thanx in advance! ...

Issues with Manipulating Opacity using jQuery in Opera

I'm using the latest version of Opera (11 alpha), but I ran into this issues with 10 (stable) a while back as well. I am using the following code to animate opacity: if($('#detailsLM').length>0){ $('#detailsLM iframe'). animate({opacity:.5},20,'linear').hover( function(){ $('#detailsLM iframe').animate({opacity:1},600,'lin...

Can't change 'scriptData' when using Uploadify plugin for JQuery

I'm using the plugin from here: http://www.uploadify.com/ I'm trying to update/add scriptData but it isn't working. The value always remains the same, what am I doing wrong!? :( Here is the relevant code from my header.. <script type="text/javascript"> $(document).ready(function() { $('#sampleFile').uploadify({ 'uploader':...

Hover Div System

Say I have a div with a link in it. When I hover over it I want another div to fade in above it with some content and then fade away on mouse over. Example found here: http://bit.ly/c59sT4 ...