jquery-plugins

What jquery code or plugin would I use to update the position of an element?

I am using a jquery plugin from [ FilamentGroup ] called DateRangePicker. I have a simple form with two text inputs for the start and end date that I bind the DateRangePicker to using this $('input.tbDate').daterangepicker({ dateFormat: 'mm/dd/yy', earliestDate: new Date(minDate), latestDate: ne...

[jQuery] How to load vtip tooltip on a dynamically generated element?

I'm new to jQuery and trying to combine the use of a tooltip plugin and a lightbox plugin. More specifically, I am using Colorbox (http://colorpowered.com/colorbox/) and vtip. Colorbox generates a div which displays an image like this: <div id="cboxLoadedContent" style="display: block; width: 400px; overflow: auto; height: 498px;"> ...

Use JS to add characters into textfield

I want to add a $ symbol before a users entry into a text field without actually submitting the $ when the user clicks submit. Additionally, I need to prohibit the user from entering anything but numerical values in to the text input. I know about the JQuery input mask (http://www.conetrees.com/2009/03/blog/jquery-masked-input-plugin-inc...

scroll by number of elements on jquery-just-another-carousel

Hi, It is possible to scroll by fixed number of child items that will be specified on configuration for jquery-just-another-carousel. Like when we click Next or Previous link then the carousel will be scrolled by 2 child items. http://intrepidstudios.com/projects/jquery-just-another-carousel/documentation.aspx ...

Anyone knows from where to get that jQuery tags editor?

Hi, Someday i've downloaded a very nice jquery editor but i lost it and i only have a screenshot of it. You just type a tag and press return or space and it's will be inside a nice box, and you can delete it by only pressing the backspace key or the close icon. Please don't suggest me That because it's so poor and the tags are insert...

How to reference a specific object in an array of objects using jTemplates

I am using the excellent jTemplates plugin to generate content. Given a data object like this... var data = { name: 'datatable', table: [ {id: 1, name: 'Anne'}, {id: 2, name: 'Amelie'}, {id: 3, name: 'Polly'}, {id: 4, name: 'Alice'}, {id: 5, name: 'Martha'} ] }; ..I'm wondering if it is possible to directly specify an ob...

jQuery AutoComplete Plugin not working for JSON Response (sValue.substring is not a function)

I'm trying to use the autocomplete plugin for jQuery (this one http://docs.jquery.com/Plugins/Autocomplete). My server is returning JSON string, which I'm trying to process on the client via AutoComplete plugin's 'parse' and 'formatItem' parameters, like so: $(document).ready(function() { $('.searchBox input.textbox').autocomplete('...

How do I modify the Joomla search plugin to search tables I have added to my database?

Most of my content is in a new table I have added to JOOMLA cms. I have to add a search plugin that can search this table. Here is aq basic table search that I can't incorporate into a search plugin. Select * FROM `jos_table` WHERE Abc = 'xyz' ...

How to get the jQuery MaskedInput unmask() function to work properly?

I am trying to have one input on my page that I would like to have a U.S. phone number mask by default. If a end user clicks a checkbox specifing they would like to enter a International phone number I want the mask to be removed. I have tried multiple ways and have been unsuccessful thus far. In the current project I am using jQuery to...

jquery pagination

We are using jquery for pagination. We are pulling millions of records from the database and then th jquery does the pagination on the front end. that is a very slow process. Can someone advice us of a solution in php and jquery where we pull 50 records at a time? Thanks ...

Problem with jQuery plugin TinySort

I'm trying to sort a list with the help of jQuery and the TinySort-plugin, and it works good but one thing is not working as i want. My Code is: <!doctype html> <html> <head> <meta charset="UTF-8" /> <title>TinySort problem</title> <script type="text/javascript" src="http://so.volmar.se/oldstatic/jquery....

jQuery form validation, disabling until submitted

I'm using the jQuery Validation JS I have two contact forms, the main one that appears on one page only, and a quick-contact that is on all pages. How can I prevent quick-contact form to show the error messages ONLY on submit (without effecting the other form) ...

Tablesorter, Color rows depending on an specific value

Hi all, I've been looking around for a solution to this thing but I haven't found anything similar to what I want. I've got a table filled with data from a database, and I want to change the background colour of a specific row depending on the class I'm loading in each row. I have to display some data but as the fields to be display...

Converting a jQuery plugin to work on any object, not just DOM objects

I am using the jQuery physics plugin for a pet project I am working on. The plugin enables the moving of DOM objects in realistic ways using velocity, gravity, wind etc. However I want to use the plugin to calculate where objects are to be placed inside a canvas element, not DOM object. How do I change the plugin script to work for AN...

Prevent form field to be edited without disabling field

I am currently working on a page that has a date picker for one of the field. One of the requirements by my client is to prevent the user from editing the field manually. Only the date picker would be possible to be used. (jQuery DatePicker) I had in mind to disable the field and use an hidden field to store the data (disabled from ob...

jquery plugin history not working on IE8

I am using the the jquery history plugin from http://www.mikage.to/jquery/jquery_history.html. I am not able to get the plugin to work on IE8. In Firefox it works as expected. IE8 works on the sample at the site of the plugin-creator. My site contains 3 links. I click entry 1 through 3 first. When entry 3 is shown I hit the back button...

jsTree Selecte most nested node

Greetings, I just started to use jsTree and I have a question for you guys. How can I select only the most nested node - the node which doesn't have any children. additionally, when this node is selected, I would like to submit my form which contains the jsTree. How can I then access selected node? ...

External event to Fullcalendar

I need to create a dinamic page with a Fullcalendar plugin. I want to drag event (div) to calendar from a sidebar. Any idea to do this with Fullcalendar or with other plugin ? Any example ? I found this link http://github.com/arshaw/fullcalendar/tree/fcdraggable, but don't work fine and it has some bug. ...

How to move child element from one parent to another using jQuery

I am using the jQuery DataTables plugin. I would like to move the search box (.dataTables_filter) and number of records to display dropdown (.dataTables_length) from their parent element (.dataTables_wrapper) to another div on my page without losing any registered javascript behavior. For instance the search box has a function attached t...

Problem display in IE 7 & IE 6 - simplemodal-1.3.4 and Jquery 1.4.2

I have a link, after click this link, a modal was displayed. I used ModalDialog with code: $(document).ready(function() { //linkTTT is link id $("a#linkTTT").click(function() { //content is id of div that contains content $("#content").modal({ onOpen: function(dialog) { dialog.overlay.fad...