jquery

Is there a jquery plugin that columnizes list items horizontally rather than vertically?

I'm looking for a jquery plugin or javascript that will columnize a list. I've seen Columizer, which is great and the configuration options are just what I need, except that it doesn't columnize data in the direction I need. My list: 1. 2. 3. 4. 5. 6. 7. 8. 9. Columizer behavior I want: 1. 2. 3. 4. 5. 6. 7. 8. 9. Columizer behav...

Parsing dates from jQuery UI datepicker

Hi, I am using jQuery UI datepicker to allow the user to select dates. This updates an input field in a form in the format: dd/mm/yyyy I am trying to use jQueryUI to then parse the date in a UNIX timestamp to check it is a date with the built in jQuery UI parseDate: http://docs.jquery.com/UI/Datepicker/parseDate However i am not su...

Need continuous execution using a handler

Hi there I currently have to two links, two arrows one pointing up and the other down, what I want it to do is scroll content located in <div id="scroller1"> which is masked by <div id="scroller">. In other words: <div id="scroller"> <div id="scroller1">...</div> </div> My code looks like this: $("a.mouseover_up").mousedown(fun...

want to implement ajax file upload in my user profile form for picture upload

imple ajax upload , want to know how to implement it in my code ... I have searched lot of uploader not know how to implement it in my code. $('#message_form').html('Profile Information Edit'+ ''+ ''+ 'First Name :'+ 'Last Name :'+ 'E- Mail :'+ 'Photo :'+ ''+ ''+ 'G...

jQuery Slow in IE to do a mouseover on a TR

Hello When the mouse hovers over the TR, we want to show a hidden DIV. We could bind this function to the TR with jQuery but this is just done at the server side: <tr onmouseover="displayDIV('0123456789');" onmouseout="hideDIV('0123456789');" ... function displayDIV(rowID) { $('#options'+rowID).css('visibility','visible'); } f...

how to bind a form with jQgrid?

I have a form with 3 text field and 2 combobox...I have send those data to server based on which my jqGrid will be populated...I can append the parameter like &text1=&text2& etc. Can someone point me towards an example based on binding form with jqGrid. Thanks! UPdate1: my approach <script type="text/javascript"> //<![CDATA[ jQuery...

MisAlignment of page controls when page zoom out is performed

Hi all, When i perform page zoom out the controls in that page are misaligned.... *This is the Screenshot-1*This is the original page This is when i perform page zoom out: Can any one pls help me solve this problem by providing some ideas or samples This is my .ASPX page code <label> ...

Javascript jQuery best way to insert a big piece of code into DOM

I have a big piece of code that needs to be inserted into DOM at some point. The code also contain some variables: <ul id="info'+value+'" class="info"><li class="hide"></li><li class="lock"><ul> // just a piece of the code with variable "value" Right now I am doing: var codeToInsert = "<some code/>" codeToInsert.insertAfter('#someID'...

jQuery: How-to toggle display on hover

I have 2 spans. First one: <span class="body"> Second one: <span class="desc"> My CSS: .desc {display: none;} What I want to do, is show the second span, when hovering the first. No fancy effects or anything, just show the span. I know there is a simple jQuery solution out there, but I'm new to jQuery so I'd appreciate some help fin...

jQuery catch when animation is finished

I'm using color plugin (link to google cache, jquery.com currently off) to handle background color animations. $(".navigation a").hover( function(){ $(this).stop().animate({backgroundColor: black}); }, function(){ $(this).stop().animate({backgroundColor: green}); $(this).hide(); } ); Need to hid...

How to get iframe contentWindow height in cross domain

i want to auto adjust my iframe height according to their content but in same domain it's work properly with contentWindow.height but in case of cross domain its permission denied for accessing iframe dom. ...

jQuery XML/RSS Scrape Problems

I'm using this script to scrape from an rss feed to view on another website: $.ajax({ url: "http://www.thriveafricastore.com/rss.php?type=rss", type: "GET", success: function(d) { $('item', d).each(function() { var $item = $(this); var title = $item.find('title').text(); ...

jcarousel - how can i make an image link in the carousel stay active

Have been succesful in adding a jcarousel to navigate around my html site which is built with dynamic template. However, i need an image link to appear active when i am on the page it is linked to so the viewer knows where they are. Also, whenever i go to a new page the jcarousel goes back to the beginning of its scroll position when i n...

Sending JSON via AJAX to PHP using jQuery

Hi guys, I am trying to send JSON to a PHP file using jQuery AJAX, basically what I am trying to do is get the values and id's of a bunch of child elements and then assign them to a JSON object and then send that object via ajax to the PHP file which would then process it and enter it into a database. Here is my code, Javascript/jQuer...

How to remove the first two BR tags with jquery?

My customer's CMS from the last century outputs the following code. And I'd like to remove only the first two BR tags with jquery. <div id="system"> <BR CLEAR="ALL"><BR>// I want to remove both BR. ... <BR>... ... <BR> I assume something like this. But I am not sure. $('#system br').remove(); Could anyone tell me how to do this p...

rails3: render :json can't be read from jquery?

I have two rails applications. In the first application i have the following method in my controller: def delivery_status envelope_id = params[:id] render :json => envelope.to_json(:include => [:deliveries, :log_lines]) end which, if go to the url in my browser, nicely shows my the JSON. Seems ok. However, if i call this through j...

jQuery parent <li>

<ul class="menu"> <li><a href="#">texT</a> <ul> <li>text</li> <li>text</li> <li>text</li> </ul> </li> <li>text</li> <li>text</li> </ul> How to get direct <li> from .menu? <li> inside child <ul> should not be taken. Thanks. ...

Is is possible to determine when an element has been rendered using JavaScript?

Is there a jQuery equivalent to do the following: $(document).ready(function() { for an element: $(a).ready(function() { I have content in an updatepanel and I am calling jQuery UI's .button() on some anchor elements. After the updatepanel refreshed, the anchors are rerendered and lose the UI styling. I already know how to detect ...

jQuery unbind Live/Delegate events with namespace

Hi! I'm trying to unbind a live event (have tried with .live and with .delegate). When I want to unbind it I have 3 different options: unbind "click", unbind "click.namespace1" or unbind ".namespace1". They all do different things: first one unbind all click events (is not what I want), the second one unbind only the events at "click" ...

Disable web2py templates ?

Hi, i'm implementing a web app using web2py and jquery. I want to use the jquery templating plugin (http://github.com/jquery/jquery-tmpl) but the plugin uses the same notation for templates as web2py ( {{ code }} and collides with web2py templating. Is there any way i can disable web2py templating or escape the {{ and }} parts ? Than...