Validation isn't being done when I need it to be
I have a page that has been using the jQuery validation plugin successfully to validate several text fields. There are several submit buttons on the page, and I have configured the validator as follows: _validator = $("#ftsEditTripForm").validate({ onkeyup: false, submitHandler: function() {} }); I register the following click event handler for all the submit buttons on the page: function clickHandler(jqEvent) { var action = jqEvent.target.id; if (action !== "cancel") { _form$.validate();
using adobe after effect in jquery
hello my friends it is possible to use adobe after effect in jquery? after effect plugins is very beautifull. there is a plugin like after effect? thanks a lot.
Strange behaviour Scroll Bar in Internet Explorer
I am using Perfect-Scrollbar in combination with an iframe. So far so good in chrome, firefox and safari but when i am using internet explorer 8-11 I get a strange behaviour. When i hoover over the iframe i normally see the scrollbars directly but in Internet Explorer they only appear when i am directly above them. Anywhere else in the iframe they don't show up? In the <head> i am using this: <link href="src/perfect-scrollbar.css" rel="stylesheet"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
jquery datepicker
Hi, I am new to jqeury. I have a few queries regarding jqeury datepicker. I faced the issue while displaying the datepicker on postback. which I resolved using pageLoad function in javascript. Now I want datepicker whos value gets set on postback. Textbox to which the datepicker is bound shows the value from the database. Used hidden field. However datepicker calendar doesnt show the value which is displayed in the textbox. My code : <script type="text/javascript"> Sys.Application.add_load(LoadHandler);
Sorry but I need you to please bell me out again
I have this: function getRequestDescriptions(requestCategory) { $.ajax({ url: 'getRequestDescri.asp', dataType: 'json', data: { requestCategory: requestCategory } }) .done(function(descriptionInfo) { // get number of items in array given by asp var Desc_count = descriptionInfo.length; // start an array to hold re-arranged buildings array var newDescriptionInfo = []; // loop request descriptions for (var i = 0; i <
form text input array
Hello, I have litte script who want validate Here simple: <form id="formid" action="" method="post"> <input type="text" value="" name="number[]"><br> <input type="text" value="" name="number[]"><br> <input type="submit" id="submit" name="submit" value="submit"> </form> $(document).ready(function () { $.validator.addMethod( "regex", function(value, element, regexp) { var re = new RegExp(regexp); return this.optional(element) || re.test(value); }); $('#formid').validate({ // initialize the plugin
Organic tabs has stopped working
In December I began using the organic tabs plugin as featured on this site. I have been without a computer for over a month so I'm not sure if Firefox had a recent update and if that's possibly the cause for the plugin no longer working. Here is the page I'm using it on. Clicking on the tabs does nothing in Firefox or Safari. I'm not sure about other browsers. Is there an updated version of Organic Tabs, or does the code need to change? Thanks in advance. Below is the code for about.html: <html>
Help with magnific popup plugin
Hi, everyone. I recently installed the magnific popup plugin, and I'm having an issue with the popup gallery. Why does it work perfectly fine on this dummy page, but not on this one? What changes do I need to make? The code is the same, though sketch.html is placed in a subdirectory called "art." The dummy/test page is located in the root folder. Any help would be appreciated, thank you. Here is the code I'm using in the "sketch" page. <html> <head> <link rel="stylesheet" type="text/css" href="/style.css"
Cycle plugin prev/next modification
Hello, I'm using the 'old' cycle plugin and I have a nowrap slideshow with prev/ next controls like so: <div id="prev"></div> <div id="slideshow"> <img src="01.jpg"> <img src="02.jpg"> <img src="03.jpg"> <img src="04.jpg"> <img src="05.jpg"> <img src="06.jpg"> <img src="07.jpg"> <img src="08.jpg"></div> <div id="next"></div> The reason for this is that I wanted to have the whole div (50x600 px) clickable instead of just an arrow png I'm using as navigator. So it's two empty divs with a background
jquery with animation..
Hi, I created the table with animated, the table i created is like this sample... <table width="95%" id="table" class="slideLeft " align="center" border="1" cellpadding="2" cellspacing="0" bordercolor="#ff8c00"> <tr></tr> <td></td> <tr></tr> </table> In jquery I wrote for animation like this... $('table.tableSorter.slide').tableSort( { sortBy: ['numeric', 'text', 'text', 'numeric', 'numeric',
jquery like handwriting
I need a jquery which works like this link http://codecanyon.net/item/jquery-handwriting/full_screen_preview/6354107 Let me explain, what i want is, if dynamically a word "development" or "विकास" or "ترقی" or "хөгжил" is provided then it will show how we used to write this word through pen like effect.
How to turn jQuery plugin into a WordPress one - Turn.js / Booklet
hi, i'm italian so sorry for my bad english!!! my question is very simple. I'm trying to implement this guide: http://www.jdmweb.com/resources/jquery_to_wordpress_plugin for this jquery plugin: Turn.js and Booklet my prolem is ho to know the dipendecies of this plugin. This thing is important to insert in the int.php the right code. can some one help me? Thanks nonchiedercilaparola
Using ajaxSubmit with powerTip to upload files
Hiya: I am trying to use pop-up box to select a file which then gets updated. I've done a test case here: http://clickcreations.com/ben.php I can read other form fields (for example, $_REQUEST['pk']), but the $_FILES are not being registered as set and I can't see an error or the file name. It looks like they just aren't being sent. If I make the form visible (so it doesn't pop-up) it works fine it is just as a pop-up form that it doesn't work. Anyone with any ideas on what I can do to get this
Trying to modify accordion menu for full bar clickable
Been trying my darndest this week to get this accordion menu working like I need it to and no luck so far. Right now on the mobile menu you can click the + for the submenu to drop down. My desired functionality is that a user can click the entire menu title for the submenu to drop down, and not just the + sign. The url I'm working on, if you have a mobile dev device or mobile emulator is http://fastgateopeners.com Here is my current jquery (function (jQuery) { jQuery.fn.extend({ accordion:
Need help on jQuery Address by Asual for IE 8 issue
Hi, I am using jQuery Address plug-in by asual. It works as expected in Firefox, but in IE 8 i am getting '#' in the URL when plug-in updates the URL. The example given by Adual also has the same behaviour. I am using State example. Below is the example how I am getting URL in IE8: http://<mysite>/page1/#/param1/param2 and in Firefox: http://<mysite>/page1/param1/param2 Is it possibele to remove the '#' from the URL in IE8? Below is the sample code which I am using: $.address.state('/page1').init(function
jQuery Form, ajaxForm(), does not process radio button in IE when it is set by Javascript
I set a radio button from data returned by Google Map, like so: countryCode = results[0].address_components[i].short_name; $('input[type=radio][name=country]').prop('checked', false); $('input:radio[name=country]').each(function() { if ($(this).val() === countryCode) { $('#' + countryCode).prop('checked', true); } }); This sets a country abbreviation, e.g., US as the value of a radio button. The HTML for the radios look like (there are several): <label><input type="radio" id="US" name="country" form="dataInput"
Using JQUERY FILE TREE
Hi there, I'm starting to use jquery and some plugins, in this case jQuery File Tree. http://www.abeautifulsite.net/blog/2008/03/jquery-file-tree/ http://labs.abeautifulsite.net/archived/jquery-fileTree/demo/ I need to develop a web page where exist a folder explorer. I resolved this requirement with the mentioned plugin. But now I have a new problem, I want to be able to select one file and show its content in another div or iframe that will be next to the folder explorer, something like in the
form validation with multiple fields of the same name
I have a form with multiple fields with the same name. Select Fields and Text fields have the same name. The selects are populated by a database, the text fields are there incase the data needed isn't included in the select. What I need to validate is that if the select value is 0 that the value of the corresponding text field is not empty. Is there a way to do that with the validate plugin?
Datepicker : The displayed date is not correct at the opening of the widget
Hi I'm trying to use datepicker with 3 input fields: day, month and year, for the date. All is working, except when i'm opening the widget. The displayed date is not the same as the date i'm setting. Here's an example from pastebin : http://pastebin.com/j3xzkL5r Any idea to fix this problem ?
Cycle plugin: how to add content on top of the image slides?
I need to add a link to T&C on each image (as images in the slider are special offers). My images are already wrapped in <a> I tried using maps (by incorporating the "Terms and Cond apply" text in the image itself), but they do not work in IE (usemap element cannot be used inside <a> elements. So alternative idea might be to add a small <div> using Javascript on each image, kind of the same way Cycle plugin adds the bullets for navigating between images? Not sure how to do that, any help would be
Mixitup + Select Dropdown Menu
Hey All, I've been searching high and low all day and night and cannot get this simple feature to work as I'm a bit rusty at this javascript, Here is what I'm trying to accomplish below: http://jsfiddle.net/dimerbox/5aQJQ/1/ I would like to link the Option Select Dropdown to sort instead of just Li's, if this isn't possible should I just get an li dropdown menu to complete this effect? I assume it's something to do with the this function $(function(){ $('#Grid').mixitup(); }); Thanks all for your
JQuery popup iframe with cookies problem
I am making a popup system with bPopup with an iFrame loaded and I would like to load the popup only if it hasn't been loaded yet. Here is the part of the code that, in my opinion, should do it, but somehow it doesn't work. <script> // Semicolon (;) to ensure closing of earlier scripting // Encapsulation // $ is assigned to jQuery ; var cvalue = $.cookie('xVisited'); if (cvalue != true) { $.cookie('xVisited', 'true'); (function($) { $(window).bind('load', function (e) { // DOM Ready $(function()
open appropriate accordion from external page link
Hi, I am confident that I am in the right forum for my question to be resolved. Thanks in advance I have implemented jquery accordion in my HTML page. My requirement is that i have a external page in which the accordion heading are given as links, and if i click any link in the external page, it should open the appropriate accordion in the accordion page. My JS code where accordion is implemented ------------------------------------------------------------------------ $('#page').on('click','ul#productdetails.accordian
Lightbox2 - images display on new page but not in lightbox dialog box
Hi, I'm trying to get lightbox2 working on my web site but when I click on my thumbnail image which should then expand into a larger image within the lightbox dialog box what I get is a new page opening containing only the image. I'm not sure if my directory structure has something to do with it. The page that contains my lightbox calling code is in: gallery\2014\jam050214.html My lightbox js, css, directories are in: lightbox\ My code to include lightbox is: <script src="../../lightboxs/js/jquery-1.10.2.min.js"></script>
jquery form plugin define charset on multipart
Hello all. I'm using the jquery plugin form provided by malsup (http://malsup.com/jquery/) and I have some problems on the encoding of some special character (e.g. àòì). I need to set the charset on the ajaxsubmit for a multipart form. I tried to set the correct contenType on the object passed to the ajaxSubmit function as described below: ajaxSubmit({dataType:"json",type:"POST",contentType: "multipart/form-data;charset=UTF-8"...}) But sniffing on the chrome network console I don't see the charset
Keith Wood Countdown Timer
Hi all, I am completely new to jQuery so I don't know how to read the codes. I got this countdown timer from Keith Wood. And I would like to change the end date. Not sure how to go about doing it. I had searched in other forums such as stackoverflow and within this forum but I cannot find the exact code to change. I found these links thus far: http://stackoverflow.com/questions/7887516/how-to-target-certain-time-using-jquery-countdown-http-keith-wood-name-count https://forum.jquery.com/topic/need-help-to-change-keith-wood-countdown-timer
JQuery datepicker browser compatibility issue
In IE, Datepicker is accepting dd/mm/yyyy format, but in Chrome is not accepting. How to fix this issue for all browser?
tablesorter demo not working
Hello. I'm having trouble getting the tablesorter demo example to work properly. It's at http://tablesorter.com/docs/example-ajax.html I'm not implementing this in my own application, it's not working on the tablesorter.com web site itself. Here is the table, in the order as it exists in the html: First Name Last Name Age Total Discount Date Peter Parker 28 $9.99 20% Jul 6, 2006 8:14 AM John Hood 33 $19.99 25% Dec 10, 2002 5:14 AM Clark Kent 18 $15.89 44% Jan 12, 2003 11:14 AM Bruce Almighty 45
$('form')validate() doesn't validate a dynamic form
Hi, I have a dynamic form that i built all controls dynamically using javascript when i click on Submit() button i call $('form').validate(); which i expect to stop form submission before executing the following lines. but the actual behavior is it executes the validate() line and continues to the remaining lines of submit method. i have included jquery.validate.js and the jquery 1.9.js and the screen.css in my page. Also, i have added required attribute to my input control and i see it in the IE
tooltipster-Problem on mobile devices
Hi, I built in the tooltipster plugin and almost everything works fine, but on mobile devices on touching the link there is shown the tooltipster-title (ketchup-title) and also the offer "Open link in a new tab" and so on. how can I disable this, so that the tooltipster-content is shown on the first touch and the link is opened at the second, or if the user presses longer...? Are there any options for that? Sorry for my english. Kind regards glupto
Superfish - How to insert a line break in a menu item
Is there some way to insert a line break in a menu item so it can appear on two lines with the break in a position that I specify?
jQuery Validation Plugin and asynchronous updates
How do you validate inputs which are updated using some sort of asynchronous plugin? The problem is the asynchronous communication takes more time that the client side jQuery plugin. For instance, see this demo. Type the start of an address but less than 4 characters, then click a result. Thanks
Redefine Tipsy delayOut configuration option with onClick
I know how to change an attribute such as a title with onClick, but I'd like to be able to change delayOut with onClick if possible. Basically I have a dynamic list of links that display a tooltip when hovered over. When a link is clicked the tooltip changes to a selection of sub-links the user can click. All that works great, but the thing I don't like is that I have to set the delayOut time for about 20 seconds to give them time to read and click a sub-link. So if they move the mouse over the list
jQuery beginner - cannot use jQuery form validation : please help need for assignment
I have downloaded the plugin from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ i have downloaded jQuery (jquery-1.11.0.min.js) from jquery.com and i have the 2 js files and the html file in 1 folder. Here is the code which i am trying: <!DOCTYPE html> <html> <head> <title>test</title> <script src="jquery-1.11.0.min.js" type="text/javascript"></script> <script src="jquery.validate.js" type="text/javascript"></script> <script type="text/javascript">
Jquery Validation - Reset validation on single element(s)
Hi, how can i reset validation on single element(s), so that the associated error messages and indicators disappear and the element returns in initial validation state. The resetForm() does the same thing for the entire form but is there a way to do it only on single element(s)? Thanks
Default value datepicker not showing
I have the following datepicker function where I would like the DefaultDate to be displayed when opening the page. However selectDefaultDate: true does not work. The date is used as a filter so when another date is selected the selected dat should show and persist in the view. How can I get it to display the default date on opening of the page? A second question I have is how to set the DefaultDate to the dirst day of the current year: 01/01/YY ? jQuery(function() { jQuery( "#hour_datefrom" ).datepicker({
Cycle2 caption2 and setting links with the images
Hi, I have been gettinging into php, jquery and cycle2 for the past few days. I am looking to set up a scrolling slide show with each image being able to click and link to a page passing a url parameter. At the moment I am creating some test code to see how to use the library before starting to create dynamic pages linked to a database. Below is working test code. That is fine. If I add a link to a page e.g use a line <a href="Pages/productiondetail.php?production=1"><img src="./images/test1.jpg"
iosslider element resize on window resize.
Hi there. You can see on this link (the actual version of the project) that the horizontal slider (iosslider) is composed with images on landscape and portrait dimensions. The problem is that on portrait dimension images, the width of the element only works properly when the browser window is resized. I am trying to find the issue here, I looked up for some .resize method in iosslider script, but no success until now. If anyone knows this plugin, just a clue would please me. Thanks.
button (x) close in jquery modal popup - want to refresh parent window
Dear all, I am using jquery modal poup to open a page (example from parent page,a.spx, iam opening the child page,b.aspx.) Following is the code <script type="text/javascript"> $(function() { $("[id$='lnkbtn']").click(function() { var str = $(this).attr("details"); var page = ('../b.aspx?no=' + str); var $dialog = $('<div></div>').html('<iframe style="border: 0px; " src="' + page + '" width="100%" height="100%"></iframe>').dialog({ autoOpen: false,
ScriptCam not working in CodeIgniter
I just copy the ScriptCam plugin to my server and outside the codeigniter "application" folder it works fine. I copyed the contents of the "demo2.htm" into a .php file and place it in the views folder folder in the CI application and it doesn't work. Any help is welcome, Mike <?php require_once('inc.php');?> <!DOCTYPE HTML> <html> <head> <title>Test</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="" > <meta name="keywords"
Next Page