• query to display digits

    Hi Experts, I want read a numeric value and display the value as digital, with each numeric character having a block background image. something like counter like below image  -----     -------     ------- l  8   l   l  9   l   l  8   l l       l   l       l  l       l  ------     -------    ------- the background image should only generate if the number value is increased by 10's or 100's and so on. Thanks,
  • redirecting to other pages and nav bar gets lost

    Hey everyone, I'm having a trouble with the navigation bar when redirecting users to other pages. For example, if a user logs in, then they will be redirected to the main page (mysite/index.php) but the url displays as mysite/login.php which is the pure PHP script that doesn't contain any HTML lines in it.  I guess that is fine, but the nav bar on the main page disappears unless I refresh the page to get it back. I hope to hear from someone here. cheers
  • How to populate value which is in one page into another page's textfield on button click using jquery?

    1.I have 2 pages (page1 and page2). 2.In page1 on button click it will navigate to page2. 3.page2 has a "textfield", so once I click on the button on page1, the value(inside DIV) which is on page1 must display in the textfield on page2.
  • JQM and PHP, SQL (Phonegap)

    Hello, I tryed to connect with my mysql database and JQM page. The only idea that I had was PHP so i created a mysql database and a PHP page where i can administrate the database. <?php                                    ##############################################             require_once 'pwd_inc.php';             require_once 'connect_inc.php';             ##############################################                     $sql = "SELECT * FROM News";                     if ( isset ($_GET['sortby'])
  • Touchmove is not working in tables

    I am new in jquery.  I have a table with 4 rows and 4 columns, now i want to change the background color of TD when i move my figure from one TD to another TD , same as mouse over. Touchmove is not working. Thanks in advance.
  • in need of feedback, Trying to initializing basic jqm 1.2.0! loader & triggers wont work!

    Hi, ive been trying to setup a basic jqm 1.2.0 page for my mvc application. and after 4-5 hours im in urgent need of some feedback! The page loader dosent disappear, and i cant get the data-role="collapsible" to trigger on my Iphone 4. on the computer it works just fine. if someone can have a look at the code it would be very much appreciated! what im doing wrong? Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"
  • Align label and textbox

    Hi,   I have this page: http://codeturtle.com/files/mobile1.html How do I align label and textbox into the same row? I don't want to use table.   Thanks
  • demo jquery-mobile site for inspiration (graphs/tables)

    I browsed the applications listed in the JQM homepage to get some inspiration from the existing usages. I am looking for any data-centric publicly available site that shows mini tables, charts and graphs in the jquery-mobile world. I know producing graphs has to be done on the server side with an external library but want to see a m.xyz.com to get the final look and feel. Also it will be good if it has multiple single-pages for navigation. Any example web sites?
  • Extract content of span inside the first matched link

    Hi,  I have this piece of html duplicated in the document. <a class="label application-label"  href="/label/bp/app10411" rel="tag">     <span>app10411</span>     <span class="remove" title="Remove"></span> </a> I need to extract the content of the first span inside the link, the "app10411" string. I have tried $(".label.application-label span:first").html()  $(".label.application-label").find("span").html() $(".label.application-label").first().find("span").html()    in the selector I have used ".label.application-label"
  • Not getting the appended hidden field and it's value

    Hello, I am appending the hidden field using jquery append method to span tag but, it's not showing the appended hidden field and it's value.......
  • Sorting more than one column

    Hi, i need to sort more than one column for jqgrid. For one column it is working fine but it is not working for more than one column. can anybody help me out.. thanks in advance. Premchand
  • Over scrolling of page in windows phone 7 cordova application in jquery mobile

    I am developing a jquery mobile (1.1.1) and phonegap(cordova-1.9) application for windows mobile phone 7. App is working fine with some problems like whole page is scrolling by default. To prevent this is I use http://forums.enyojs.com/discussion/353/windows-phone-7-disabling-the-default-pinchzoom-scroll-snapback-behavior I have top bar,bottom bar and scrollable listview. The above mentioned link stops scrolling of listview. please tell me any solution that default scrolling of whole page is prevented
  • AJAX returned JSON data object parsing problem

    The AJAX is returning the data.  I can see the JSON in firebug but it does not get presented on the page.  I assume the bug is somewhere in the data getting parsed.  The submit form button works and a row gets inserted but when the user comes to the page all the todo items should be displayed first.  Here is the link: janisrough.dyndns.biz/todo17.html How do I trouble shoot?  The success alert doesn't fire. Thnanks, $(document).ready(function() { $.ajax({               url: 'ajax/form_handler_copy.php',
  • multiple slideshows

    i have multiple slideshows on one page with anchor links that slide the screen to each slideshow..  its  messy. I can get 2 slideshows working but I want more.. how can I achieve this.. here is a link to the page http://manmade.co.nz/index_2.html
  • Object doesn't support this property or method - Internet Explorer 8

    I get the following error for a page that is basically a form.  After filling in the form and click the save button, IE gives me this error.  Object doesn't support this property or method.  Line:497 Char:5 Can anyone please take a look and tell me what it could be? line 497 is the 6th from the bottom... jQuery_1_7_1("#store_notes").val( "" ) ; Here's the code... <?php     include_once ( "../global/includes/settings.php" );     $current_opt_menu = $opt_menu_checklist;     include_once ( "includes/header.php"
  • scrollbar for jquery accordion

    hi everybody, i am new to jquery and tried to include a scrollbar into my accordion with changing the autoheight from false to true and in a function. but nothing did work for me. maybe you can help me with that. here the code: CODE:    <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>     <script>      $(document).ready(function(){         
  • Simple/Light-weight User management in PHP Web App

    I am using JQuery-mobile and buit a web app. I am looking for integrating some out of the box "user management" module instead of handcoding. Features that I expect are as follows: 1. Have a CAPTCHA enabled + e-mail activated registration process with a defined set of fields. 2. Have a way to subscribe/unsubscribe (or completely delete) account features. 3. Let FaceBook/Gmail/OpenID be alternative login channels. 4. Anything that is relevant to the general lifecycle of user management. Technology
  • Installing a jQuery Comment Section on a Website...

    Hi... I'm trying to install a comment section on my website using jQuery. I believe that I have most of it done, except for the enable script. Not sure about this, what its for or where to place this script in order that my comment section works. I have all the info needed to post here to get help, but first, is this the right place to start?  If not, please direct me to the correct forum in order that I could obtain the help needed to successfully learn, install and run a jQuery Comment section
  • Total beginner fails at jQuery - changing the colour of css borders when clicked/active

    Hi all, first time poster. I have an assignment that involves using jQuery to change the colour of a CSS border for a list element from black to red when active, i.e. when the user is currently at that page, as you can see here on the menu: [IMG]http://i.imgur.com/M4kiY.png[/IMG] The "hint" code that we were given to solve the problem was this: $( '#navhome' ).attr('style', 'border-right: 1em solid red;'); $( '#navhome' ).click(function() { $( '#navhome' ).attr( 'style', 'border-right: 1em solid
  • How get information device mobile ? Please , help me..

    I want information Mobile access my Web ? How get....help me please...
  • Help needed! Simple jQuery script not working

    Hi there, I included a script on my site <script type="text/javascript" src="/content/static/langselector/langselector.js"></script> The script is there and seems to be loaded. It contains a simple jquery string: $('#lang_arrow').click(function () { $('#lang_list').slideDown('slow', function() { // Animation complete. }); }); All I want to do is to slideDown() the element #lang_list as soon as a user clicks on the element #lang_arrow. But nothing happens if I do so. Here is the markup: <div class="lang_selector">
  • who can help me about the table in zhe mobile app?

    i new a table in dreamweaver,but the width longer than modulator screen,so the screen can't show the outer of the screen,how can i show this; ps:i am chinese,my english is poor,so if you can't understand,you can  make a detailed inquiry.i am online thank you!
  • Datepicker with SQL?

    Hey Guys, Im having difficulty trying to work this out.  Im trying to grey out the dates that have already been entered into the database. heres what I tried ******Database Stuff ***** [code]   $(document).ready(function() {     $("#datepicker").datepicker({minDate: 0,               beforeShowDay: booked       });         function booked(date){           var day = date.getDay('$grey, $grey2');                       return [(day > 0), ''];       }; }); [/code] Thank in advance everyone
  • Problems with validation

    Hello, I'm having some problems with validation. I have a specific js file for my validation funcions. But each time I change the name of the form to validate ( and update the form in the validation function of course ) it just stop working. For example: The Function: $(function () {     // validate signup form on keyup and submit     var validator = $("#signupform").validate({         rules: {             firstname: "required",             lastname: "required",             username: {          
  • Simple mobile Application

    I want to develop a Application. It has 2 part. One is web based that I have completed in php. Second part is mobile Application. in this project, instructor will take interview from students . He/she will enter marks by mobile Applicaton. then he will send these marks by using BT to the main web based applicaton. now questions is , how can develop mobile application part by using jquery. thanks.
  • Slider value to PHP and then to MySQL?

    Greeting community, I am a beginner and I don't know, how to from PHP access to the slide value, that I can store in a MySQL database? //1. Slider echo "\n<div data-role=\"collapsible\" data-theme=\"b\" data-content-theme=\"b\">"; echo "<h3>$row->Menge $row->Einheit $row->Bezeichnung</h3>"; echo "<p>"; echo "<label for=\"slider-fill\">$row->Einheit $row->Bezeichnung</label>"; echo "<input type=\"range\" name=\"slider1\" id=\"slider1\" value=\"10\" min=\"0\" max=\"30\" />"; echo "</p>"; echo "</div>";
  • problems by using local jqmobile-version

    hi ! i start to develop a side [1] and i have a probleme by using a local version of jquery mobile. when use the css/js-file by online like <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.css" />     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.1.min.js"></script>     <script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.js"></script> there will no problems. my sources are
  • Where am I wrong?

    Code:  $( "#listview_1" ).listview({   create:    function(event, ui) {  alert('创建个listview');    } }); Error message: mobile.html:12 Uncaught TypeError: Cannot read property 'jQuery182037365721934475005' of undefined jquery.mobile-1.2.0.js:8522 $.widget._createSubPagesjquery.mobile-1.2.0.js:8522 $.widget.$.widget.extend.widgetEventPrefixjquery.mobile-1.2.0.js:557 $.widget.refreshjquery.mobile-1.2.0.js:8174 $.widget.$.widget.extend.widgetEventPrefixjquery.mobile-1.2.0.js:557 $.widget._createjquery.mobile-1.2.0.js:7988
  • One Jquery is fighting with another. I know nothing about java, please help

    I purchased a Drupal Theme and have been customizing it. It came with a cool side pullout tab that i customized to allow any block to be placed into it. I also added the Jplayer module and am using that on my product pages to play samples. My Problem: When i am on a page that has the player on it, it breaks the pull tab function and the tab opens and then closes. It wont stay open. Anyone have any suggestions? as i stated, i know nothing about java jquery. Here is a link to my site so you can see
  • Url stays same after login

    Im using django with jqm and having some troubles, I digged django forums and problem seems to be with jqm. All the pages work fine but, if I login a person and make a redirect, I get the correct page rendered but url in my browser stays the same, if I hi the refresh button, I get the previous page. Also multi pages does not work. any idea? thx.
  • How to show ajax page after response image all loaded

    I want to use ajax load another page into a div include many images, and I hope the div show after the images been loaded completely, how to do that?
  • JQuery Mobile 1.2.0 Popups navigate back too far on close (with Knockout JS?)

    I have hit an issue with JQuery Mobile 1.2.0 Popups on multipage app which causes incorrect navigation on return from the popup. The issue may be an interaction between Popups and data bound controls using Knockout-JS (2.1.0). I am able to create a popup (clicking on a button) and the URL changes to add the hashtag "&ui-state=dialog" as it should. I close the popup and it returns to the underlying page apparently removing the hashtag from the URL as displayed in the browser navigation bar. So far
  • Disabling JQM ajax request and receive ugly UI instead

    I have a asp page and I disabled my jquery post via $.mobile.ajaxEnabled = false script, but now new problem occurred and its about my page UI, as I disabled the jquery request the server response that return from first request is not user friendly at all, because jquery handle the UI of my page. Now the question is how to manage both the UI and ajax request inside my page? I found that the response from first request is just updating content of updatepanel and jqm css classes didnt assign to elements
  • Validation plugin - how to use custom classes?

    Hi, I've been going round and round in circles with this for the last 2 hours, and its driving me up the wall. I'm using this plugin: http://docs.jquery.com/Plugins/Validation .  I've attached a screenshot of what happens upon a "successful" value being entered. With the following CSS classes:     .valid {         padding-top: 4px;         background: #ffffff url('/bootstrap/assets/img/valid.png') right center no-repeat;             }     .error {         font-weight: bold;         color: red;    
  • Hiding days in datepicker

    Hi Everyone, I have some problem with hiding days in datepicker depending of day of week e.g. if today is friday hide saturday and if today is saturday - hide sunday. I have this code who check what day is today: $(function () { var day_date = new Date();     //var day_date = dateMin.getDate();     var weekday = new Array(7);       weekday[0]="Sunday";       weekday[1]="Monday";       weekday[2]="Tuesday";       weekday[3]="Wednesday";       weekday[4]="Thursday";       weekday[5]="Friday";      
  • var doesn't keep value, only in the console.log

    I have some problem that i dont get my head arround... I want the variable of eId to be added to the data string but it always comes up as 0, but in the console log it shows the value changing... how can i add the eId value to it. Here is the code: <?php require_once('Connections/dbconnection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")  {   if (PHP_VERSION < 6) {     $theValue = get_magic_quotes_gpc()
  • How to handle click event for the dynamically created anchort tags??

    Hi Experts, I am nu to jQuery so this question might seem naive to you guys. But please help me out here.  I am creating a number of anchor tags dynamically with different titles and assigning  different click event handler to those anchor tags that too dynamically. All the anchor tags are getting created perfectly with different titles , but the PROBLEM is event handler for them all is the same as the event handler for the last created anchor tag . So when I click any of the link they all go to
  • Datepicker - set the data inside the input field when one of the date is selected

    I have some holidays days: var holidayDays = ['24/12/2012', '2/1/2013', '14/2/2013']; and code: if( parseInt($("#date").val()) == holidayDays ) {           var freeday_value = ('holiday');         $('#holiday_day').val(freeday_value);     } Who didn't work. What I want to achieve: if in datepicker someone pick the date from above table, then on input field (#holiday_day) will be displayed word: holiday. Thanks for any help.
  • jquery validate rule

    hi guys, I'm having a problem for the code below. the one commented out works fine when i try to leave blank a input box, however when i try to use the one below it is not working. any ideas on how to fix this. I'm new in using jquery. thanks alot <script>     $(document).ready(function(){   <!--      $("#username").rules("add", {required: true, messages: { required: "please enter your name" }});-->             $("#username").rules("validate"({rules: {field: {required: true, max: 2 } }}));     });
  • Validation Plugin Not Working

    I've been trying to get this working for hours and can't work out why it's not working - can anybody help?  Nothing happens at all, no validation or anything! index.php: <?php include '../db/connect.php'; include 'course_finder.php'; ?> <!DOCTYPE html> <html> <head> <title>Module Matcher  |  Register</title> <meta name="viewport" content="width=400" /> <link rel="stylesheet" href="../css/style.css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script> <script type="text/javascript"
  • 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