Inconsistency in JQuery Cookie
Hi, I am have two cookies as follows $.cookie("cookie1") and $.cookie("cookie2"). When I set cookie1 with some value, the same value is being set to cookie 2 automatically. I am not getting why it is happening so. I am setting cookie 1 as follow $.cookie("cookie1" , "TestValue" , { path:'/' } ); Could anyone help me regarding this.
Fetching the entire Tree structure on click of submit button.
Hello All, I am using TreeView plugin of jquery, while using this i came to a bit of problem. What I want to do is get the entire tree structure, on click of submit button by user. This is required as in my case user can change the tree structure and this changes can be saved. For saving the changes I need to access the entire Treestructure. Waiting for a quick reply. P.S: Using jQTreeView (jquery.treeview.js) Regards, Rushabh D. Vipani.
Stop Jquery.Cycle onBefore from firing multiple times in Ajax script
I'm using Jquery cycle on images loaded with Ajax. Captions for each image are loaded with Jquery.Cycle's onBefore option and a separate function, as seen below: $('#full-wrap').cycle({ before: onBefore }); }; function onBefore() { $('.caption') .html('Opposite: ' + this.alt); }; The problem is that because the data is being loaded via Ajax, and because Jquery.Cycle is being called as a success function of the Ajax script, the caption text from
jQuery.validate dependancy callback
Hi I am trying to do a dependancy call back using JQuery.validate code is fieldsvalue_2: { required: function(element) { return $('#total_travellers').val() >= 2; }, dateISO: function(element) { return $('#total_travellers').val() >= 2; } } It works fine for the required: element but not for dateISO, is it not possible with dateISO or am I doing something wrong..? If its not a feature, it there any work around that would produce the same result Any help greatly appreciated. Kind Regards Paul
ufvalidator and livequery
Hi, I am totally new in jquery and have question about plugins. I load into div using load() function form to send email $("#content").load('menu.html #kontakt'); the form looks like this: <section class="jquery-plugin"> <form action="" method="post" class="form" id="contactForm"> <input type="hidden" value="true" name="mailer"> <div class="form-row"> <div class="label">Name - Surname</div> <div class="input-container"><input type="text" maxlength="40" minlength="3"
Timer called function on expiry but not after
Timer Plugin My goal is to have set up two youtube videos. VideoA now and VideoB Later. When the countdown finishes at 5pm I want the video to switch from A to B. Using the countdown timer I've gotten that to work. I set the timer for say 90 seconds after load and it swaps out perfectly fine. If I set the timer for 11pm tonight it will switch fine. The problem is if I set the timer for 11pm tonight and I load the page at 11:30 the timer says 0:0:0 but it doesn't activate the switch function. As per
validate onsubmit help
Hi Guys, im using the validate plugin with the metadata plugin as below : jQuery(document).ready( function(){ jQuery("#com-createForm").validate({ meta: "rules" } ); }); However i want to basically call this when the form is submitted becuase the form processing take along time (pdf generation): document.getElementById('generatebutton').innerHTML='<center><b>processing</b></center>'; does anyone know how i would do this (using the validate and metadata plugin) PS i only want to show that message
backstretch / fancybox conflict
I am using jquery plugins on a website built in Wordpress. I find that the backstretch and fancybox plugins won't work together. If the backstretch is active, the fancybox will not work - and I've tried a number of different fancybox plugins. If I turn the backstretch off, then the fancybox plugin works fine. The include files are in different locations in my directory. Any ideas why these two plugins conflict? And how I go about getting them to work together? Thanks Tim
Validation plugin overrides and breaks jQuery ajax function
The validation plugin overrides the $.ajax function as follows: // ajax mode: abort // usage: $.ajax({ mode: "abort"[, port: "uniqueport"]}); // if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort() ;(function($) { var ajax = $.ajax; var pendingRequests = {}; $.ajax = function(settings) { // create settings for compatibility with ajaxSetup settings = $.extend(settings, $.extend({}, $.ajaxSettings, settings)); var port = settings.port;
jquery.jparallax.js vs 0.9.1 with jquery.fancybox-1.3.4.pack.js using jquery 1.4
I seem to run into this problem quite often. When combining some plug in's (in this particular case jquery.jparallax.js vs 0.9.1 with jquery.fancybox-1.3.4.pack.js using jquery 1.4) the conflict things seems to rare its ugly head. I'm not sure I understand why some plug in's conflict with others or what I need to concider for I get any more bright ideas about using multiple jquery plug in's to work together. What is the best method for trouble shooting jquery conflicts and/or getting multiple
Create Horizontal Dropdown Child Menu that Holds on Subpage
Hi Themesters I need to create an Horizontal Dropdown Child Menu. There is a great post here about how to achieve this and I have been following it: http://themeshaper.com/forums/topic/create-horizontal-dropdown-child-menu-that-holds-on-subpage#post-7432 It works. But only partially for me. When the submenus are activated by hovering or clicking the item with children, then the menu items next to the 'activating' one clear to the left and drop down to the next line. Any idea on what I am doing wrong?
media plugin windows 7
Hi, I have recently found out that some of my implementation with the jquery media plugin from 'jquery.malsup.com/media/ ' fails on windows 7. Everything still works on Vista. Ex. http://www.honeycore.se Click on video in the right side, then on a image thumbnail.
validate: validation and fullcalendar conflict
Hi, I'm using validation plugin and others like fullcalendar; all is ok except one thing: it seems that validation plugin conflicts with fullcalendar plugin. I explain better the problem: I'm using jquery ajax http calls (GET and POST) and so I generate the content of my principal div by clicks on site menu. When I access to a page that uses validation plugin and after to one with fullcalendar this one doesn't populate with calendar events received with a JSON array. I load validation plugin in the
jCarousel question - execute the codes only before the next button is click
I have implement jCarousel onto my website, my jCarousel has 8 items on each page, when user click "Next" button, then jCarousel will display item 9 until item 16. I want to execute a certain codes only when jCarousel is displaying item 1 to item 8. In other word, I want to execute the codes on 1st page only. In other word, I want to execute the codes before click the "next" button. How to do that? I not sure which 1 should I use? Should I use itemFirstInCallback or itemVisibleInCallback or buttonNextCallback?
JQuery Form Uploading file problem
Hi, right now I'm facing a situation when uploading a file using Jquery Form, I've never being able to reach the success property/action and when the file finishes uploading it tries to show some information of the incoming page with no success, eventhough I dont mind showing some response what I would like to do is a file upload to multiple destinations, that's why I'm concerned on the success property being reached this is what I'm doing <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
Asynchronous Autocomplete Echoing
Situation: Using a web service to provide the autocomplete results, the normal behavior of autocomplete, is that someone initially posits a smaller query, and as they type into the field, the query grows. This has the effect of reducing the size, latency, of the network service response, as result size shrinks. Effect: Because there is no check as to response went with which request, the autocomplete display sometimes renders more results than it should (in this case FILO). Usually the requests
validator plugin
i am getting a pretty typical error message that appears to appear for folks who have typos in their validator code blocks, $.validator.methods[method] is undefined i have spent most of the day going through my code, and comparing it to other working validation code i have in other pages, i have rewritten a bunch of stuff, and to no avail, i am still getting the same error so i figured i would try the community here, to see if the communal mind would see something, or have knowledge i do not. i have
Validation plugin on Android - doesn't seem to validate email addresses
We tested one of our pages on android today and it seems like our email address field always got marked as not being a valid email address, even though it was I changed the validation to only require an email address if the userAgent wasn't android, which solved the problem enough so that people could continue Anyone know what the problem might be? We were initially using validator 1.7 but I saw that version 1.8 was available so I updated to that, but the problem was still there
Masked input
I am able to call the mask function to mask my phone number etc in specified format. Unfortunately my database has only 10 chars for phone number so when I do insert it fails. My question is how can I get only the value back in postback instead of getting masked characters as well?
Rounded Corners Plugin (jquer.corners.js) IE problem
Hey, I'm trying to implement rounded corners with jquery with the following plugin https://github.com/malsup/corner/raw/master/jquery.corner.js?v2.09 http://jquery.malsup.com/corner/ In IE 8 is the following error: I've a colored background so the corner must be Transparent in all browsers it works fine but not in IE8 --> there I've corners but with a white corner background and it should be transparent! Here is a picture of the error in IE8: And it looks correct in FF: any idea how to solve
Carousel - Various images sizes
Anyone know a jquery plugin I can use for a horizontal scrolling image carousel with different size images. I Iike the plug in here as my client will be easily able to put new content using a simple text file. The problem is that the images will be the same height but different width so I get ugly spaces between narrow images. Is there a plug in that solves this or is there a way to manipulate the css for each image so as to adapt the width of the div ? I can add the height and width properties of
can coda-slider which slides panels horizontally be made to slide panels wider than the screen?
I've made a website that uses coda-slider to slide the entire screen to the left when the user clicks on a menu item. It takes him to the correct screen. Its a neat effect, and other people have done it too. My question is - suppose I have a background image that is rather wide. I can stretch it so it fits the height of the screen, but then its too wide for many monitors. When I slide to another screen, I want the entire background image to fly past the user, even if it is wider than the screen.
validate help
hi im using the validate plugin with the meta data plugin i call it like this jQuery(document).ready( function(){ jQuery("#com-createForm").validate({ meta: "rules" } ); }); and then in the html i have for example <select name="offertype" class="drop {rules:{required:true, messages:{required:'Please select the Type '}}}" id="offertype"> <option value="">--Select Type--</option> <option value=1>Pumped</option> <option value=2>Gravity</option> </select>however my problem is that all the error messages
Update a div with results of a jqModal ajax call from MVC page
Here's my scenario. I call jqModal using its ajax functionality that displays a form in the modal dialog. The user fills out some information and submits the form which returns some html in response. The resulting html is being displayed inside the jqModal div. The user then clicks Close to dismiss the modal dialog. This all works correctly so far. Instead, what I want to do is close the dialog on submit and update a div with the response from the server. Calling code: <script type="text/javascript">
ui.dialog problem with IE when modal is true
hey i am use jquery dialog ,inside the dialog i have html multiple select box and only in IE i cannot able to click inside the box . when i set the modal to false it`s becomes clickable
Need Help Please - jQuery("ul.sf-menu").superfish is not a function error with top menu bar and sliding categories left nav block in prestashop
I am getting the following error when viewing the site in firefox " jQuery("ul.sf-menu").superfish is not a function" I am pretty sure this has to do with my top menu bar and my sliding categories left nav block I have in my prestashop store at: www.ledlites4rvs.com website. I am not sure how to fix. HELP PLEASE. I attached the file associated with the error but I had to put it in text format. It was superfish modified.js I have tried "no conflict" code thinking it could be a couple of different
Issue with jQuery tablesorter
hey guys, I am using jQuery tablesorter plugin and it seems to be working fine. But i have a requirement to filter the data's based on client and do sorting then. I put a combo box and from that user will select the Client. Based on the selected client, i manipulate the JSON data locally and display the relevant data's based on client ID. Before selecting a client, say All Client (means all data from JSON), sorting is working fine. But after selecting a client, the sorting is working only ascending
Slideshow navigation help
Hello all, not sure if this the right place for this - so feel free to move it if not. I'm currently making a slideshow using a custom jquery plugin (nivo-slider) on the 3rd slide, the image links to a separate page - what i want to do is have a link on this page that when clicked, goes back to the 3rd slide. here's the example: click The other way i've tried to do it is by hiding the slideshow div and showing the video div....but then the slideshow just carries on playing while you are looking at
Passing object to dialog box
I am using the $.ajax funtionality with the UI dialog box plugin . I need to pass an object to the dialog box. I have tried .ajax({ prompt: 'POST', url: '/page.jsp', data: { objVal: $object }, success: function(data) { $dialog.html(data);} }); when I do this I get: Line: 31 Error: Object doesn't support this action According to the script debugger this issue is in the jquery code: isEmptyObject:function(j){for(var
How to show error inside input box?
How to show error inside input box as I test jquery-plugin-validatorform-1.7.js. How to show error under listox? Current code is: label { width: 20em; float: left; } llabel.error { float: none; color: red; padding: 0 0 0 .5em; vertical-align: middle; }
Multiple jQuery Cycle instances... captions not working
Hello, I'm running multiple instances of jQuery cycle on my page here. I know, my mootools code is ugly but it's simple and works. Anyways. The images are cycling fine, however, my captions (just the alt text of the image) aren't changing with the different instances. How can I get this to work? http://josephbergdoll.com/dev/ much appreciated.
Using jQuery Treeview
Hi All, I have a requirement in which I have to use async jQuery treeview, where data is coming from the server and the childnode has to be a hyperlink which will connect to some different page. Kindly let me know how to provide anchor tags be assigned to the child nodes in async jQuery treeview. Any help on this is greatly appreciated. Regards, Sameer
Fixing grid header
I am a starter on jquery, I want to fix the grid header on my website. I follow the information in http://plugins.jquery.com/plugin-tags/fixed-header. I add the following codes into my module (.ascx file) --------------------------------------------------------------------- <Style type="text/css"> .gv, .gvtest { border: 1px solid #E2E2E2; border-collapse: collapse; padding: 2px; } .gvh { background-color: #EEEEEE; font-weight: bold; color: #666666; font-size: 12px;
After Postback, JQuery is not working
Hi I have a problem when server postback, all scripts are didn't work. one of my script is $(document).ready(function() { // For Create Resources // Here we will write a function when link click under class popup $('#ctl00_Body_chkNewCat').live('click', function() { // Now we need to popup the marked which belongs to the rel attribute // Suppose the rel attribute of click link is popuprel then here in below code // #popuprel will fadein
Tabs plugin used in malsup.com?
I like the tabs plugin used on the taconite (love the taconite plugin also!). It does not appear to be the jQuery UI tabs. Where can I get this plugin? Thanks in advance. --a.
Problem in Opera and Chrome, but not in IE8
I have problem with jQuery lightbox image. If click on IE8 image open litghtbox, if click on Opera or Chrome image open in this same window. Example link. Please help
Anyone suggest a reliable, compact color picker?
I need one that is relatively small, and that can "pop out" so to speak when you click on a text field so you can choose a color and get hex values from it.Has anyone used a good one?
Suggest an image gallery that supports multiple slideshows?
Hi, I need to replace a Flash image gallery with a jQuery gallery. After hours of looking at sites that say "Top (25) jQuery Image Galleries," I still can't find one that supports a top view that shows a list of available slideshows. Clicking on one will load that slideshow. You can then go back to the top level and view all the slide shows again. Does anyone know about a plugin that does this? Thanks! -JP
Validation form - problem
Hi, Could you tell me how can i check that input have only letters (a-z and A-Z)?
mediagroup.mediacontent from rss not loading using AJAX/Google Feed API
Hi Guys, I've been banging my head on this topic and i still haven't found a solution to my issue. I know there are many questions answered about how to load media$group.media$content.url but I can't seem to get any of those solutions to work for my code. I'm parsing my feed using zRSSfeed. I can't seem to load the mediagroup node and its contents. specifically the content url and the thumbnail url attributes. Here is a snippet of the code that is loading the title of the feed article. I want to
Next Page