• Jquery trigger create too slow

    Hae, am new to this forum and i have a pressing and urgent killer question to my career. So don't mind if i will go against any of the stipulated rules of the game in this forum for now. Am using $('#id').trigger('create'); to create controls dynamically. The controls are appended on a html table which is inside a div. So am generating controls dynamically in rows which can go upto several hundreds of rows and tens of columns. Is there an alternative to $('#id').trigger('create'); Am using it because
  • How do I trap an http 500 error

    Hello, Im calling a java  program that will make an ajax call using ssl communications to paypal. After the program completes normally Im getting a http 500 error. The program is completing normally, and even returning the response from paypal. But when the program terminates the browser is telling me Im getting an http 500 server error. The below variable $ipal is returning a response. Is there a a way in my ajax call to trap the error Im getting? $.ajax({                                        
  • window showing the main screen

    Hi, I'm using jquery dialog and I have a problem when I insert my div in html, it is showing up and not stay hidden, to show only when you click the button and call the jquery to open it.
  • Checking the second of 2 dynamically generated radio buttons

    I'm trying to check the second radio button in a pair of 2 that are dynamically created in the front-end .cshtml page. The code is as follows: <div class="g6"> <form> @foreach (var method in myProxy.GetCategorys()) { <input type="radio" name="myCat" data-bind="@MVVM.CheckedBindingFor(a => a.Category)" value="@method.Code"/> <label class="radio-inline">@method.Name</label> } </form> </div> It produces 2 radio button like this in the rendered source code: <input type="radio" name="myCat" value="ABC"
  • Great script that runs on my machine so

    Digite um texto ou endereço de um site ou traduza um documento. Cancelar Você quis dizer: Oi, estou com um script de jquery, php e mysql Hi, I have a jquery script, php and mysql online service ... have many files and it is running perfectly on localhost in xampp on my pc, and when I upo him to the server it does not run, the dialog of jquery ui q opens the single page is all messy, can someone tell me what to do??
  • Understanding how to get and set.

    I was trying to make a video page that I could click members in a list and play the video for the title in the list. I realized there may be some things I don' t know about getting and setting attributes or even getting and setting all things in jQuery. Originally I was trying to set the video tags source tags attribute 'src' to the new video and get it to stop the current and play the one the clicked link refers to. I realized I may be missing some know how so I tried to do some thing a lot simpler
  • Add another custom error message using ID(s)

    Hello, I'm using chronoforms for Joomla and I used another plugin for form validation. My objective is to have my own custom message, code below works for the "name" input. jQuery(document).ready(function () { jQuery("#myForm").validationEngine('attach', { 'custom_error_messages': { '#name': { 'required': { 'message': "Your Name is Required" } } } }); }); The code above works, but I want to insert more IDs, such as, #birthday, #terms..etc.with another message. How do I go about this? Thanks.
  • How can i skip repeated value in an Array

    Hi, I have a jquery.ajax success function like below, in which i am getting repeated values for "text", How can i skip the repeated value from this array.. I am getting the values now like this  text = Day : 1, Day : 2, Day : 2, Day : 3, Day : 3, Day : 4, Day : 5, etc...How can i skip these repeated values from this. Thanks in Advance               success: function (data) {                      var tabs = [];                     for (i = 0; i < data.length; i++) {                                    
  • Jquery Validate showing error on page load in IE9

    Hi I'm using Jquery Validate on a form (validating the email address field) and it works perfectly fine in all browsers but it's not working as expected in IE9 (and possibly 8/7). I've used a Placeholder on the email field ("enter your email address") and as it's not supported in earlier versions of IE, I'm using Modernizr to create the functionality.  As I can tell, if the functionality isn't there, it adds the Placeholder text as the input value.  Therefore, when the page is loaded, the Validate
  • Jquery not working in magento?

    Even I have specified var jQuery = jQuery.noConflict(); in my code but there i am getting the reference error on this line. What may be the possible reasons for this error?
  • jQueryUI datepicker and Webkit css conflict

    Hello, when calling the datepicker widget on one page and days are strecheing over the month frame. This happens only with Webkit based browsers, like Safari or iCab. I don't see this behaviour with other browsers. I'm using a html theme from ThemeFuse and until now they couldn't tell me, where I should look for this. Any idea where I can look into this? Thank you Quwax
  • Calling values from a "dynamic" variable name

    Hi, sorry for the bad description, but I dont know how to name the problem, that's propably why I could'nt find a solution so far :( The code looks like this: fi_slide = 1; TweenMax.to($('#fi_slide_'+fi_slide), animationLength, {css:{top:(sf_position_out+(["fi_slide_"+fi_slide+"_margin_top"])*(-1))+"px"},ease:Expo.easeOut}); So what im tying to achive is to set the css value "top" to a specific value. The variable I am tying to call has the name fi_slide_1_margin_top But i am trying to call this
  • Prev/Next in Gallery Works Sometimes

    Hello, I created a gallery that pops out when you click on it to showcase my portfolio. When you click on the individual images, they load pretty fast. The file sizes are small. However, when the images are in a modal window and when you navigate through the images using the prev/next buttons, most of the time, the loader spins forever and the image doesn't load. A few times it loads the image using prev/next buttons. Could someone please help me out and let me know what's going on? Here is a link
  • Random page load

    Hey guys. I am a noob at coding and basically rely on understanding the basic purpose of a code from demo's and try to take an advantage out of it. I am trying to create a web-app that will have a few hundred pages. All hard coded but with same template so its not a hassle. I've tried using CMS but it has been disastrous so far. On my problem, my apps main page is going to have a 'Random' button which will load up a pop-up. In that popup there will be a message displaying, "You are about to be redirected
  • "Add Item", "Remove Item" UI - best way to implement this using jQuery (with mobile device support)

    Hi: Since a picture is worth a thousand words, please see http://www32.myfantasyleague.com/kevin/waivers.html This UI (two HTML selects, with "Add Item" and "Remove Item" buttons in the middle to move items from one list to the other list) is used throughout our site, and although it's not super elegant, it works well for our desktop customers. However, we'd like to see if we can make it a bit more modern, and more mobile-friendly.  To that end, we're hoping that some jquery expert out there might
  • jquery ui sortable in a HTML Table

    Can the jquery UI sortable be used in a table instead of an unordered list?
  • Assigning 2 Images to 2 Radio Buttons

    I'm VERY NEW to PROGRAMMING...Can someone give me an example of using a 2 radio buttons to pull up 2 images? I have a Male and Female Radio button and I want to connect the Male button to the Male image and the Female button to the female image...   Thanks guys! :-)
  • JQGRID and checkboxes: Need to select and retain through paging.

    I have this jqgrid working exactly as I want it to... EXCEPT... I can't seem to add a checkbox with an id value that will stay selected through paging through the results. I have looked up every thing under the sun and can't seem to get anywhere... My server has jqgrid 4.4.5 which limits some of the built-in functionality, I believe. /** * TEMPLATE * /assets/js/modules/email/selectattachments.js * * PURPOSE * Script for the Search page and grid */ var resizeGrid = function(){return;}, resizeTimer
  • jQuery Animated Grid

    Hi, I am looking for a jQuery plugin that can do something similar to this please  http://www.dow.com/solutionism/ If someone knows of a plugin like this I would appreciate the help. Thanks!
  • jquery mobile with node.js

    jquery mobile with node.js please give some pointers.
  • links within jQuery accordion don't work

    Hi all, I'm new to jQuery and with quite some struggle I've managed to create a jQuery accordion in which I can put any module as I please. The accordion works perfectly, but when i click on any link within the accordion (other then the headers), the accordion box will just close and for the rest nothing........ I've seen all the other solutions, but because of the dynamic nature of my accordion (placing any module within), I can't use those solutions. My accordion code looks like this: Code: $(document).ready(function()
  • Draggable element loses containment and dissapear

    I have a little thumbnail that represents all the window. You can move the div #maquetaPant and the window should to scroll at the same time you move the little square. You can try this jsfiddle: http://jsfiddle.net/oscardr/H2tEN/ Move the little square to scroll the window. If you try to change the drag event for a stop event then it works well. The code is here. If I put the function "dragMaqueta" in the stop event, then it works well. But I want it in the drag event to scroll the window at the
  • trouble changing a font color using an input color picker

    Hello, I'm trying to change the font color of  heading text  using an input color picker. the html input is: <input id="headingTxt" type="text" class="form-control"> the font color to change lives here: <div class="heading-txt">some text</div> the code to pick up the font color and change it: //heading font color $(document).ready(function(){ function displayVals() { var singleValue = $( '#headingTxt' ).val(); $('.heading-txt').css('color', + singleValue); } $( '#headingTxt' ).change( displayVals
  • jquery wizard/step needs

    Am in need of jquery plugin that would allow me to do the following 1. build a form wizard on my existing site that currently uses backbone to load views etc 2. perform ajax calls at each wizrad step and validate if needed or validate client side 3. save to local backbone model for persistance 4. open wizard steps only if previous one passes validation 5. save to db when all steps are fulfilled. Found this one http://www.jquery-steps.com/Examples#vertical Not sure if this will perform all my needs.
  • How to do hover/shade roll-up effect?

    I found a few sites that do what I'm looking for, but I'm not sure how to implement. I'm looking to show an image with a caption, then when the user hovers over it, for a block of text to roll-up in front of it like a shade effect. This page shows what I'm looking for: http://www.ewa.org/ Would this require a plugin or is this fairly straight-forward to implement? Or, if anyone knows of a jquery plugin that might do the trick.  Thanks!
  • Send to back my images.

    Hi. How can I send to back my images? I am trying to use z-index property into my css but doesnt work, Thanks in advance. Regards
  • Need suggestion to develop a jquery Plugin

    Hi  I need suggestion to create a jquery plugin.  that plugin should be like book flip with including maps, videos, images, Navigations.  Please suggest me how to start and give some ideas to make the plugin more interactive. Thanks, Gowtham Kumar
  • Problems on android and windows with events

    Hi there folks.  I am learning jquery now, which is nice. I am an old fart who programmed waaay back in z80-asm and Turbo Pascal and am now returning to coding. Just to indicate my -lack of- knowledge. I am making a website to remotely watch the programs on my sat receiver. (enigma2 for the sat nerds out there) Functionally it is done. I am able to switch bouquets, get epg data -single click a service in '#channelcontainer' - and stream channels -doubleclick a service in '#channelcontainer'. (which
  • Passing variables from javascript array through url based tracking

    Hi, I have an online store which is powered by Volusion Shopping Cart and am trying to get the tracking code for the affiliate network we use (Monetise) to pass the order number and order value through the networks tracking url. The tracking url from the network is: <script type="text/javascript" src="http://monetisetrk.co.uk/p.ashx?o=126&f=js&t=ORDERNO&p=ORDERVALUE])"></script> Volusion stores the order details in a javascript array and originally I tried adding the relevant variables into the tracking
  • how to bind plugin with a div fetched via Ajax?

    I'm trying to add a DateTimePicker plugin to a JQM app. Everything works when the HTML code is static in my app but when I pull the HTML via Ajax the plugin cease to initialize (I checked and all the plugin files loads to browser and there is no error in console, just nothing happens). I'm sure this happens because plugin expects a HTML tag to hold on to ("input" in this case) which is not there onload - it shows when the Ajax fetches it from server file which takes a second. The code is simple.
  • Slider don't work with IE 11 and Windows 7

    Hello I use the Slider (https://jqueryui.com/slider/) on my Website and it works fine except if i use my Laptop with Windows 7 and IE 11. The Slider does'nt appear. Does anybody know this Problem, or got experience with this...? Thanks in advance.
  • Jquery trigger create too slow

    Hae, am new to this forum and i have a pressing and urgent killer question to my career. So don't mind if i will go against any of the stipulated rules of the game in this forum for now. Am using $('#id').trigger('create'); to create controls dynamically. The controls are appended on a html table which is inside a div. So am generating controls dynamically in rows which can go upto several hundreds of rows and tens of columns. Is there an alternative to $('#id').trigger('create'); Am using it because
  • Parameter value is not sending from jquery.ajax to sql query

    Hi, I tried to send some parameters value to sql query from jqury.ajax, But the parameter value is not getting in sql query. Below is my code         $.ajax({             type: 'POST',             url: 'query.php',             dataType: 'json',             data: {                 dayNo: "2",                 event_id:"4",                            },                         success: function (data) {                                 var items = [];                 for (var i = 0; i < data.length;
  • ('#div').width problem with typeface.

    Hi, I'm trying to ascertain the width of a DIV using jQuery. Problem is that it's using the default typeface sanserif to compute the width. It gets the font size correct but not the typeface. This means that once displayed with the new typeface, the DIV is a different width to the one jQuery gave me.
  • dynamic list from table

    Hi, i'd like to create a dynamic list from a postgre database, but I don't know how to save it. Here is the idea so far: -> Single-Page solution, so ajax is required to do the job -> jq-ajax loads the table content -> eg. some editing here -> jq-ajax to save the (edited) content Here we got to the point, where I don't know how to handle the produced data, that is for instance json, and how to get it in a "nice database format", to insert it here. I'd be glad, when there would be a existing snipped,
  • Jquery or javascript script

    i download google chrome extension of [1 sentence] is app that give you a quotes or facts in 1 sentence i use this for learning English. [ i am translate the sentence] but the background every time change to green to orange and it drive me crazy. can i get small script that will keep the background white and the color of the font in Black the elements of css are in The HTML body tag  actually better javascript
  • Please help to make facebook likes exchanger or send me javascript code.

    Please help to make facebook likes exchanger or send me javascript code. I want to make http://www.like4like.org/ same like website any body help me??
  • Change Panel from data-display reveal to overlay , programmatically

    Hello, I would like to have a left panel in a small application I am creating but I was hoping it would be somewhat responsive. I would like it to be a data-display ='overlay' for mobile screens and data-display='reveal' for desktop browsers. Is there anyway I can handle this using CSS or Javascript. I did some test but could not find an answer.. sample (that did not work) <!DOCTYPE html> <html> <head>     <title></title>     <meta name="viewport" content="width=device-width, initial-scale=1">    
  • Reveal Each XML Content Output Individually Rather Than All-Together

    SITUATION Howdy, I have made a function which sends parsed xml elements into two adjacent boxes in random order. The first box contains questions and the  second box contains answers. The answers are hidden to begin with, but there is a click function which reveals the answers when the user is ready.   Here is the xml file structure: <?xml version="1.0" encoding="UTF-8"?> <Questions>     <Question>         <QuestionOutput>Question</QuestionOutput>         <AnswerOutput>Answer</AnswerWord>     </Question>
  • using .change() with a text input

    Can I do this? Apparently not the way I have it  since i can't seem to get it to work. But can I use .change() with a text input? $('#query-list').change(function(){ $('#query-list').attr('title','"' + $('#query-list').val() + '"'); }); I am trying to set a tooltip up on this textbox and I want it to display whatever is currently in the textbox so when there is too much text in the text box to handle the user can hover and, voila!  Also can I initialize .tooltip inside this function.  I only it want
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of