Plugin for reordering items
Hi I would like to present a list of items on the screen one below the other and allow the user to reorder them using an up and down arrow next to each item. A v B ^ v C ^ v D ^ Is there a jquery plugin for doing this? Thanks, Yash
How to save this code in wamp server? I am using jquery touch. Please help.
Hi JQuery Experts, I am new with Jquery touch. This code will add a text fields for a mobile survey question. I don't have any idea on how to get the index and value so that I can save it to my wamp server. $(function(){ var i = 0; var ii= 0; var newID = "quest_no_"+i; var newChoice = "choice"+i; $('#add_quest').tap(function(){ i++; $('#'+newID+'').parent().before('<li><input id="quest_no_'+i+'" name="quest_no_'+i+'" type="text" value="'+i+'. " /><ul class="rounded"><li><input id="choice'+i+'"
unblockui on button click not working
Hi, unblockui on button click not working. Example: $.blockUI({ message: $('#div'), onOverlayClick: $.unblockUI }); $(".closed").click(function () { $.unblockUI; });
How can I change my slideSwitch() function to set a different interval between slides?
A website I inherited is using Jon Raasch's excellent simple jQuery carousel to display a set of images (which we load via an sql database). The images fade in at 5 second intervals, and It works perfectly. However, the customer now wants to have the initial image stay on the screen for a longer period than all the others. I'm a jQuery/JavaScript novice, and although I can see from googling that I may need to play with :first-child or IMG:first or .slideshow-Item.first(), I can't get it to work.
Tablesorter + filter + addRow + update => filter not applied
I recently started using Tablesorter to sort and filter a table -- awesome functionality! My next step is to add rows to my table dynamically. When I do this (simple JavaScript for now), the filtering is not re-applied (that is, I would expect the new row to only be visible if the filtering rule allows it). I have to remove the filter text from the filter box, let it "unfilter" then type the filter text again. Am I missing something? Here's my function: function addRow() { var row="<tr><td>new
Passing an Array as a Config Option in jQuery plugin
Hi, I have posted this question on stack overflow to help me understand how to pass an array of objects in my plugin config option, but I have had no reply in the last 3 days. Would it be possible to know how I can pass an array inside my default config settings to allow users to add as many images as they like depending on the type of "array or parameter" that is provided. The reason I am using arrays is depending on the type of array (desktop_xl[] , desktop_l[] , ipad_p[] , mobile_l[], mobile_p[]
jQuery vulnerabilities - Header Manipulation & Code Injection
Hi All, Recently while scanning the code with fortify code scanner I came across the two vulonerabilities reported by scanner: Header Manipulation and Code Injection in jquery related files. Following are my queries: Why the values reported by scanner are not validated. What is the significance/use of those values. For Code Injection: aCookies =document.cookie.split(';'); for ( var i=0, iLen=aCookies.length ; i<iLen ; i++ ) { if ( aCookies[i].indexOf( sBaseName ) != -1 ) { /* It's a DataTables
Accordian / WordPress
Hello: I am trying to get the accordian to work properly in my WordPress site. The attached document shows some spacing issues that I'm not bale to figure out. Does anybody have any ideas how I might solve this problem. Thanks in advance for any suggestions.
jQuery validate (http://jqueryvalidation.org/) doesn't works
Hi! I have a problem with my project where i use jQuery validation plugin. This is example of my form (i use Twitter Bootstrap): <form action="/editprofile/save/" method="post" role="form" class="editprofileform"> <div class="col-xs-4"> <div class="form-group"> <label for="firstname" class="control-label">Your name</label> <input type="text" class="form-control" id="firstname" placeholder="Your name" name="firstname" value="Evgeny"> </div> <div class="form-group"> <label for="birthday"
tablesorter filter functions - external select box to filter by column
Using the tablesorter plugin I want to be able to filter entries in a table with a select box. In the examples I could find select boxes in the table header but I couldn't manage to create an external select box which is populated with the values in a specific column (in this case I want to filter by the values in column 3 - Age) and lets me filter the table. Can anybody give me some advice or did I just miss the example page for this case? I've set up a jsfiddle to give you an idea of what I want
Time masking issue with maskedinput.
Hi All, I am using maskedinput-1.3.min.js for masking time textbox. I have several issues in using the same. while landing into the page, if no value is there I want to set value as __:__. that I am setting but if user focus on the box and without entering any value just click some where else, the value is getting empty. how to restore the value? How to restrict the user to enter time not more than 23:59? I have done the following: $.mask.definitions['5'] = '[0-5]'; $.mask.definitions['2'] = '[0-2]';
jquery table sorter
Hi How can I maintain the pages State after postback or redirect happens in jquery tablesorter. thank you, Kulasekar
I just can't believe I cannot validate a single textbox
Guys, I need help, otherwise gonna go back to JavaScript pure and simple. I can't validate a number in a text box. See the code: <script src="Scripts/jquery-1.9.1.js"></script> <script src="Scripts/jquery.validate.js"></script> <script src="Scripts/additional-methods.js"></script> <script type="text/javascript"> $(function () { // i have tried without this function () also $("FormDBORC").validate({ rules: { TextBoxValor: {
jQuery Knob issue
Hi, I am using touchable jquery knob - mouse click and wheel mouse but it is not working properly in ipad and iphone Refer this link http://screencast.com/t/TuCGvHBY8T kindly help us Thank you
jQuery dialog form submission failure
I'm loading some dynamic contents using jQUERY load as: $('#modal-container').load($(this).attr('href')). dialog({ maxWidth:550, maxHeight: 300, width: 400, height: 250, modal: true, title: 'Dialog', buttons: { "Update": function() { alert('submitted ('+$(this).attr('href')+')'); $(this).find('form:first').ajaxForm({ success: function(data, status) { if(data.status == 'success') { notify('Success'); } else { notify('Error'); } }, error: function() { alert('failed'); notify('Error'); }, }); $(this).dialog("close");
Error label in jQuery Validation
The error label after validating form with jQuery validation doesn't appear at the correct place. This is the matter only with radio buttons and checkboxes. Instead of appearing the error label on next line it appends with the radio button/checkbox. Here is the sample layout: Here is the HTML code I am using for radio buttons: <div> <input type="radio" id="1385825951-27-0" name="1385825951-27" value="Male" required><label for="1385825951-27-0">Male</label> <input type="radio" class="gief-radio"
jquery table plugin with edit link
Hello, I am new to jquery and I am looking for plugin like DataTables which will populate based on the data from server but will have edit button as well. If the user clicks on the edit button a form should open(i dont want inline editing) with pre populated data. Thanks, Samir
jquery fliping problem
HI All I am using jquery fliping plugin "jquery.flip.min.js" , i Face problem Mouseleave doesn't trigger when Mouseenter is not completed yet
JQuery Validation not working at all
I have downloaded the JQuery Validation plugin. I am trying to run the examples in the test folder, but am not getting any results at all. I have checked the paths to all scripts, and they appear to be correct. Any suggestions for what I can try next? Thanks!
JQUERY CYCLE - HOW TO ENLARGE THE SLIDES?
Hi I'm very new at Jquery and I have just created an image slider that works perfectly. I would like to add the option of enlarging the single slides by clicking on them to see them in a bigger window that pops up above the current page. How can I do that? MANY THANKS
How to reload news ticker?
Welcome, I would like to ask you how to solve my problem. I'm using an Alex Fish's script called List Ticker. Working very good. The code placed on my site is: <script type="text/javascript"> $(document).ready(function() { $('#fade').list_ticker({ speed:6000, effect:'fade' }); }); </script>On the <body> section: <ul id="fade"> <li class="teksthosta">Text 1</li> <li class="teksthosta">Tekst 2</li> <li class="teksthosta"> <a href="#"><img
autocomplete span
I have a functioning autocomplete <input> control and I am seeing a <span> created with the number of results available. When this <span> tag is created in the markup, upon successful completion, it shifts my <input> control to the right. I would like prefer this be placed above the <input> control. How can I accomplish this?
Any good drawing area?
Hi, any good drawing area? I would like one that join two points with a line, you know i click in one time, then click again, and the two points are joined with one line. I have found this: http://intridea.github.io/sketch.js/ but it doesn't allow to do what I say
jQuery Validation unable to read my remote message and displayed incorrect CSS
I'm using jQuery Validation to checking the username availability. I'm able to check the username but when the username existed in database it won't show my error message. Also if you are insert the existed username on the username field it will display the error but if you continue to try another username the error style are become none. I have attached the screencast for viewing my error. http://www.screencast.com/t/hQdRev1HOnh Also this is my script. <script> $(document).ready(function()
tablesorter plugin problem with IE
using tablesort with my gridview has 930 records when paging the border lines getting messed. It only happens with IE not with any other browser. If any idea please provide solution. thanks in advance Kulasekar
Jquery Cycle and Fancybox
I am trying to create a slideshow that uses the Jquery Cycle plugin. Inside each slide I would like to have images that open up to fancybox lightbox. The issue I'm having is that when the Cycle code is left alone, the images do not open nor do they even act like links. When I comment out the Cycle code, the images again become links and open the lightbox but it, as would be expected the slides are no longer slides. I'm new to Jquery so I appreciate any tips you can pass along. Here is the code I'm
Validate - Disable enter key submit but still run validation
Having trouble getting the benefits of the validate function while disabling the default submit (i.e. enter key). I have a complex form with lots of text fields, some required, some not. When the required fields and all other validate rules have passed, hitting enter in any text field submits the form, which I do not want. I want to restrict validating and submission to clicking the Save button. Setting onsubmit to false prevents the validation from running at all and it's not clear from the docs
Questions related to what is reasonable to consider as a public interface to JQuery validate
Normally I'd say "What is on the documentation page". But: I generally call validate() on my forms based on the existence of a class: $("form.validate").each(function(index) { $(this).validate(); }); I'm finding that after the fact I would like to sometimes allow validation on some of the hidden fields in a form (yeah, I know). If I knew in advance, I'd simply do: $('#formID').validate({ ignore: ':hidden:not("#fieldID")' }); But I don't. I also don't see a documented interface for
Isotope sort after append
I tried this: $("#add").click(function(){ var $newIems = $("<div class='post-body post item'>itemName</div>") $(".items").isotope("append", $newIems, true); }); $("#sort").click(function(){ $('.items').isotope({ getSortData : { content: function ( $elem ) { return $elem.find('.post-content').text(); } } }); $('.items').isotope({ sortBy : 'date' }); $('.items').isotope( 'reLayout' ) }); But the items wont get sorted. is it possible in general to add new items to the isotope container and sort them
TableSorter: not even example works
Hi, I have problems with tablesorter after updating a table. Steps: create a table, sort it; change the content using javascript, call "update" and then "sorton". The table column header is correctly updated, but the order in the column is not correct. See this official example: http://tablesorter.com/docs/example-ajax.html It should sort by the age (descending). After clicking on "Append new table data" the column headers are correctly updated, but the data is not sorted. Clicking on the header
jQuery validation Pllugin with Obout Combobox
I am using obout controls in my project, I am having tough time using jQuery Validation Plugin with obout Combo box. It never works. Can you please send me some sample code.
Problems with bubbletip extension on Internet Explorer 11
Hello here, I am struggling to understand why the following page shows correctly bubble-tips when you move the mouse over the two links if you open it in any browser but Internet Explorer 11: http://www.virtualsheetmusic.com/ziolo1.html Any ideas? The browser seems to ignore the CSS or what? Any thoughts are very welcome! Thank you in advance. Fab.
jQuery Media Plugin Creates Object Without an ID Attribute
I am using the jQuery media plugin (http://jquery.malsup.com/media/) along with the ElementIT Flash Uploader (http://www.element-it.com/multiple-file-upload/flash-uploader.aspx). I am using an old version of the uploader (v 1.7) but everything has been working great, until I updated the jQuery media plugin to the latest version. Once the media plugin embeds the flash object, it is missing the ID attribute. $("#flashloader").media({ width: 350, height: 210, autoplay:
jQuery slider redirect on 4th click
I'm using the jQuery Superslides plugin here: http://dougalpaterson.com.s69396.gridserver.com And I want to redirect the user to the main website on the 4th click of the .next arrow (after the last slide), rather than looping through the slideshow again. I've managed to add the address to the href using this js: $('#slides').superslides({ animation: 'fade' }); var clicked=0; $('a.next').on('click', function (e) { clicked++; if (clicked >= 3) { clicked = 0; $("a.next").attr("href", "http://www.google.com/");
drag image in circle path and rotate the image with angle centered to circle
Hi need a jQuery effect. on click i need to add an image to circle, that image will be draagable on circle path. if circle contains multiple images other images move accordingly. same thing is developed in flash but now i need in jQuery. Demo : https://www.chamilia.com/is-bin/INTERSHOP.enfinity/WFS/CHA-Web_US-Site/en_US/-/USD/SPAG_DesignYourOwn-ViewFlashApp Demo2 : http://www.pandora.net/en-us/explore/inspiration/create-combine/bracelet-designer Select the bracelet and beads to have effect. thanks
Initialize Datepicker when called or similiar?
Hi, i am trying to use datepicker as part of a booking engine. I currently have pass a array of dates that are unavailable to beforeshowday and this stops people from selecting these dates. But obviously because the datepicker is initializing at document ready (am i right all the settings are executed here?) the array cant be changed without refreshing the page. I have 2 functions at the moment to do this but need a method to either: 1. initialize the datepicker when its text box is clicked and
Photoslider using ken burns plugin?
I'm looking for a free photoslider script with a Ken Burns plugin, or somethings that looks like that. I found the WOW slider, but it is not free for commercial use. Can soemone help me find a free working one?
regex expression isn't working in my page
I'm experimenting with jQuery and jQuery validator. They're amazing, and I'm SO close to what I want the page to do. This particular regex isn't working for the "work phone" field: ^\d{3}-\d{3}-\d{4}[\s\w]{0,13} I want a phone number in the form NNN-NNN-NNNN and then the user can add an extension or some other text up to 13 characters long. I've validated the regex in several validators; I can't figure out why it's not working here. The other regexes are working fine. I'd added this to the page
Superfish Menu Plugin - v1.7.4 Problem: TypeError: o is undefined
Hi, Firebug is reporting the error TypeError: o is undefined in the clearTimeout(o.sfTimer) statements in Superfish 1.7.4 highlighted here: over = function () { var $this = $(this), o = getOptions($this); clearTimeout(o.sfTimer); $this.siblings().superfish('hide').end().superfish('show'); }, out = function () { var $this = $(this), o = getOptions($this);
jQuery BBQ Implementation
I'm trying o use jQuery BBQ to load content onto my website without reloading, although i cant seem to get it to work at all. I'm not sure what must be changed in order for the code to work with my HTML. How can i implement the following jQuery BBQ code with my navigation bar? <ul id="navigation-links"> <li><a href="#product-showcase">Product Showcase</a></li> <li><a href="#about-us">About Us</a></li> <li><a href="#about-me">About Me</a></li> </ul> <div id="content-loads-here"></div>
Next Page