• Jquery ajax return string without accents

    Hi, I have a problem with returning text with echo after I use jQuery ajax. The text what I return always displays without accents, Im sure this is a simple problem, I just cant figure out what it is. Thank you for any ideas.
  • How to create a background slideshow and fixed

    I'm trying to create a background slideshow and these's backgrounds which have to fixed(background-attachment:fixed), but it's so difficult please help me.
  • selective cascading access on matching elements

    Hello @all, I´m very new to jQuery and have a problem I can´t solve by myself. I have an ul li list with items that match a later following div - the match is the id. That id is matching another following div by id. All elements are dynamically generated and can vary in depth. I have a working set with onclick fuctions, but I want to make this working in jQuery.   It would be great if someone could help me to get this working !! Thanks in advance This is the raw template: <div class="mything">   
  • Corner Rounding on Android 2.2

    Here's a deployment that's using the latest release from github: www.cyclistthegreat.com If you look at this on Android, you'll notice that the gear icon, the home icon and even the back up have noticeably jagged edges and are essentially unusable in this state. It renders fine on desktop browsers and iPhone. I've checked the live demo site and see the same issues there, though they're not as noticeable if it blends in with the background color. Can this be fixed or should I revert to square borders? 
  • problem with jquery auto completion table

    Hi i am using auto complete table plug-in , and getting error like - " name is undefine "  on below line of code  function _formatNameColumn(row)    {        return "<b>" + row['name'] + "</b>";    } and  parse function is also not working   "parse": function (data) {            return $.map(data, function (row) {                return {                    data: row,                    value: row.name,                    result: row.name                }            }); please help me asap . appreciate your
  • Accordion - Can i detect when all panels are collapsed?

    i need to change a background image of div when all panels of the accordion are collapsed, do i have any way to do this? thanks for all!
  • JQuery ieSelectStyle() function is not working in IE 7

    ’m using jQuery’s ieSelectStyle() function to display big contents in select box. The code is working fine with IE 8 and 9 and not with IE 7. Please see my code below <!-- Added two jQuery files --> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript" src="jquery.ie-select-style.pack.js"></script> <script type="text/javascript"> $(function () {  // calling jQuery function   $('select#selectboxName').ieSelectStyle();         }); </script> <body> <table>
  • How to have Active mode in JQuery Accordion

    Hi All, I am using an jquery accordian as a menu in my site...it goes on next page when i click on the button but i want to show an that button in active state when it on is on its respective page. Below mentioned code is i am using for my accordion menu. $(function() {                 $('#accordion > li').hover(                     function () {                         var $this = $(this);                         $this.stop().animate({'width':'340px'},500);                         $('.heading',$this).stop(true,true).fadeOut();
  • jQuery Multiple File Upload problem...

    Please forgive me if I'm not following protocol.  I'm relatively new at jQuery.   Apparently I'm not holding my mouth right on the jQuery Multiple file Upload Plugin.  It doesn't appear to be responding to a customization of the selected files list.  Here is my code: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Upload.aspx.cs" Inherits="Upload" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
  • User is typing message HELP

    Hi guys, I am trying to get something to show when the user is typing, but the message of typing stays for a few seconds after typing has ceased, a sort of msn messenger effect. I have so far: <script type="text/javascript"> function testPress() { $('#notify').html('Your typing!') ; $('#notify').fadeIn('slow') ; timeOut += 1000 ; } setInterval(function(){ setInterval(function(){ $('#notify').fadeOut('slow') ; }, timeOut); timeOut = 0 ; },2000); </script> timeOut is declared and set to 0 further up.
  • [Problem] Text & background-color

    Hi guys, I just create a little site with jQuery Mobile and I d'ont understand why my text are a problem :/ If I use a white background, no problem. Anyone knows why ?
  • Error using JQuery validation on DropDownLists

    Hi I am having a problem with jquery validation on drop down lists.  I am posting my code. But when I run it, I am getting the following error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0103: The name 'dropdownlist1' does not exist in the current context Source Error: Line 79: $("#form1").validate({ Line
  • slideUp / slideDown Toggle for several DIVs

    Hello Everybody, unfortunately I am new to Jquery and was wondering how it is possible to open one DIV while closing all other DIVs ( or maybe just the open ones) all with the same CLASS. I know that the accordion does just that but I ran in some other issues there, because I was not able to use another DIV to trigger the accordion (I am posting that exact question under another topic though because someone else might find the answer more usefull and easier) Right now I am Using the Toggle, which
  • Form Validation - Fields that shouldn't be validated are being validated

    I'm not very good with javascript, but have tried to get the form validation plugin working. I do have it working, but it seems to validate things I'm not asking it to validate, and I'm sure it is my code, but I don't know what is wrong. I've uploaded what I have to here: http://colorspot.brianswebdesign.com What happens is, if I click on a field like Zip or City, and then click somewhere else, a green asterisk appears to the left of the input. Zip and City aren't fields I want validated, so I'm
  • PB & jQueryM: dialog box contents not styled a 2nd or subsquent times

    Hello, I have to generate the contents of a dialog box on the fly (as I need to query the database for info first and then populate the dialog with it), but my problem is that the dialog box is only styled the first time it comes up.  In the example below, (if you don't mind building and running on your sim), you click on the "New Dialog" at the top right, take a look at the dialog, it is styled by jQueryMobile which is good.  Cancel out of it, and then click on the "New Dialog" button again and
  • Simple Problem !

    Hello Everyone, Well i am facing maybe a conflict on my plugins javascript file, i am trying to fix it for the last 3 days with no luck, i googled a lot but again no luck, i am not a jquery expert and i need help with the following code : Logic --->validate inputs and if anything wrong fade error message, put a red border a round the wrong field and prevent the whole process, i made it work before with less plugins, any ideas ? Note: I bolded and colored my not working function in red $(function(){
  • if I append a class or a button to the parent of the input, it also gets appended to the div with data-role="fieldcontain"

    Hi, for some reason, if I append a class or a button to the parent of the input, it also gets appended to the div with data-role="fieldcontain".  Is this by design?   <div data-role="fieldcontain">       <div>             <input type="text" />      </div> </div> thanks Matt
  • How to open datepicker on button click and display the date in a textbox

    Hi All, I am using daterange picker. I want to open the daterange picker on button click and display the selected range in a textbox. Any help??
  • How to set a dynamically created select's selected value to a variable's value

    Hello, I have a cookie that contains a select's last selected value. The cookie is well written and assigned to a variable 'myCookie'. I'm populating a select's options using a php script with $.getJSON Once the select is populated, how to set its value to myCookie's value? I thought it was:  $('#mySelectID').val(myCookie); But the select does not seem to be updated (or does not show the updated value). Thanks for your help.
  • Onclick not working with ben alman's jQuery BBQ

    Hi   New to all this so ill try asking you guys.   Im creating a ajax based page so i needed to use jquery to fix the back button. Found Ben alman's BBQ library and it works perfectly, almost. :P   The problem is that when i use onclick to run an ajax function. It doesnt work untill i have refreshed the page. The two doesnt seem to work together :S    Why is this? Is this suppose to happen or?    The function that im trying to run on onclick is this     function xmlhttpPost(strURL, input_value) {
  • Button background broken for icon, not sure if it is my error or not.

    Hi all, I have a button with an icon and the icon is displaced, when it is placed inside a span that has the class ui-widget-content I believe that this person was having the same issue http://stackoverflow.com/questions/4507469/jquery-ui-widget-content-button-bug I could just use a different class for the span, I just wondered if there was a  I am importing jquery from here. /static/js/jquery-ui-1.8.9.custom.min.js This is the markup I am using <span class="ui-widget-content"><input type="button"
  • keyup overrides onkeyup function

    I'm doing some customisation on existing software - my objective was to reflect changes to a form in a separate table. The forms require the user to enter numbers and these are totalled in the final formfield  via an existing 'onkeyup' function. I used keyup to copy the value typed and add it to the summary table. However in doing this, the existing 'onkeyup' function written into the form no longer works and so the total is no longer displayed. I tried using keypress instead (which still had the
  • How to use the draggable using absolute position?

    Hi, I made all my html elements to use the position absolute. I notice that jquery ui draggable changes this to releative.  When this is done my elements end up moving and going out of  their divs.   Is there any way to not allow the position to change from absolute to relative???
  • Regex in Validation

    Hey there, Is there a way to validate the value of text field against a regex using Validation plugin? Eg: Validate a field for IP Address. Thanks! Moiz
  • My forms don't submit if the input fields are inside a list view

    Hi guys,  I have a basic login form in my Jquery Mobile application, and since I like how the listviews look, especially with the data-inset=true, I decided to put my fields and submit button in an li tag. However when I do this my form will not submit. If I remove the listview code it does work. So what happens is that the form does not react at all, with the below code. It doesn't even show the standard "Loading" overlay that usually appears when you submit a form. Any ideas? Thanks a bunch! App
  • FadeSlideShow Multiple instances.

    Hi All, I am in the process of modifying the fadeslideshow by Pascal Bajorat as I found that it was not capable of supporting multiple slideshows on the page. I am to the point where the i can have multiple slideshows on the page but the Next and prev buttons only effect the last slideshow that is being rendered.  My initial thoughts is the array of slideshow items that i create to control the count and fade in/ out effects for the slides is not being associated seperately with each slideshow but
  • jQuery UI Modal Dialog with Next and Previous Buttons

    Hello, is it possible to use the standard modal dialogs and insert next and previous buttons to navigate through the content of an array? How can I insert the next and previous functionality into the modal dialog? I have no clue how I could proceed. I'm very thankful for any support. Best, Daniel
  • I thought every line of the code need semicolon?

    But then when I download some video files of JQuery and then I found this lines. Why they dont use semicolon? function showRequest(formData, jqForm) {   var extra = [ { name: 'ajax', value: '1' }];  $.merge( formData, extra)     return true;   }
  • GZip

    The jquery home page at http://jquery.com offers a 29KB gzipped version of the latest code, but when I check that box, vs the full version, I just get a page with the minified version and if I save that the file is 83KB.  So how do I get the gzipped version? Also, where does this get un-gzipped?  Does the browser do that in real time each time a page with jquery loads? Thanks for any help. Steve
  • Using async .ajax within .each loop

    I have been googling around about this for quite awhile without any definite answer. Here is the code I am having a problem with:     var $m = {'id1':'page1.html','id2':'page2.html'};     /* load modules */     $j.each($m, function($key, $value){      $j('#'+$key).html($loading);      $j.ajax({       url:'proxy.php',       type:'post',       data:'module='+$value,       context:$j('#'+$key),       dataType:'html',       success: function($response){        $j('#'+$key).html($response);       }     
  • How To Parse Multi Field in Checkbox?

    Hi All! I'm beginner with JQuery, And i have a problem with this. I made a program which is using checkbox, and with that checkbox i have to update database. (the checkboxs are showing in every row  that showed in my page), and the using of it is for checking some item that i had received. The problem is just because i put it every row, so i need to parse  primary  key field and foreign key field value together with the checkbox. But i'm not really sure how to put many value in one input checkbox.
  • problem with jquery slide down menu ul li

    this code working fine with internet explorer but not with mozilla and chrome function initMenu() {   $('.categories_list ul').hide();   $('.categories_list li a').click(     function() {         $(this).next().slideToggle('normal');       }     );   }      $(window).load(function() {initMenu();}); wht to be done ???
  • livequery problem

    Hi, I have problem with livequery. I'm trying do validate (using validate plugin) form which I load using load() function. But there is one problem: validation works but first I must click twice on the submit button! I don't know how to get rid of the one click. Do you have any ideas? My submit function: $("#myform").livequery('submit',function() {             $("#myform").validate({             debug: false,             rules: {                 name: "required",                 email: {        
  • adding a score counting to my javascript

    Hi there, I am trying to add some sort of score system to my script, but I have no idea how to get this working. I have two files 1php and 1 javascript (which gets implemented in the php file) What do I need? I want to add a score system to my script. In the javascript there is this part of code: function foundMatchingBlocks(event, params){ var $elements = params.elements; $elements.remove(); This removes 2 blocks from a board. When this happens I want to ad +100 points to my score and show this
  • Visited state for the UI accordion

    I implemented a FAQ page with the accordion from jquery-ui-1.8.11.  It came out ok - http://www.steveswebshopphp.com/upaya/FAQ.html. But one thing that I wanted to implement but couldn't  is a visited state for visited questions.  That is, after you've opened, read and closed one question  I'd like for that question to have a different text appearance so the user is reminded that they've already opened and read that question. But the accordion code seems to clear the visited state of the link in
  • Change not working when text box is change via Javascript

    The change fires when I click in the textbox and change the value, but does not fire when the text box is changed via javascript.  Anyway to get it to fire when value is changed via javascript? Thanks Steve
  • Multiple Results

    I'm making a search field, they type what they want to search and it'll bring up the close results from the database and when they mouseover one of the results it pops up an image and description that should have been added to the array but I'm really stuck on how to do this I've been googling like crazy with no luck. I've only been using jquery for a month or two now. Here's what I have: [code] <script type="text/javascript">    var title; var plot; var image;                               $(document).ready(function()
  • Filtered list with separators: How to exclude the separator from the search?

    I love listviews in JQueryMobile. They're fast, effective and with the instant filter they're also very user friendly. I just don't like  that I don't see a way to exclude the separators from the search. Imagine a list view that has a bunch of car brands and their associated models. Now when I search for a model I do not want to see any of the categories anymore, just because they also contain a part of the text I'm searching for. Now it seems that some model belongs to a brand that happens to also
  • Detect browser window area changing

    Hi! I am learning jquery and so far I am loving it. I am building a list inside a div. When I click the list it scroll until reach the bottom. The problem occurs when the available window height changes. I need to find a way to detect it to trigger a function that re-aligns the list :) thanks for any tip :) try the code i did so far: http://jsfiddle.net/ruiganga/rfUCQ/11
  • jQuery.map() and nested JSON array

    Hi all,   I try to use map() function to parse JSON data and build bullet list in Html. The JSON data have is: {"Successful":false,"ModelState":[{"Key":"MyDataField","Value":{"Value":null,"Errors":[{"Exception":null,"ErrorMessage":"My Error Message Here!!."}]}}]}   It contains 2 level of nested array here, I try to extract all ErrorMessage from the data and build <ul><li><li></ul>.   var bulletList = $.map(data.ModelState, function (item, a) {     var temp = JSON.stringify(item.Value.Errors);    
  • 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