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"
when timeout I want to run a function!
timeout works! but when timeout I want to run a function. do you have any ideas? //when you define datatype as JSON, you can do it. But my response from xajax.php is a data: "echo $_GET['name'];" $.ajax({ type: "GET", url: "xajax.php", timeout: 100, data: "name=John&location=Boston", success: function(msg){ alert( "Data Saved: " + msg ); } //like this: //timeout: function(){location.href='blabla.html'}
I never used JS, can I learn the jQuery ?
Hello. I want to learn jQuery, but I don't know much about java script. And my question is, should I start with JS or with jQuery ? I read the "how jQuery works" article, and I understood all of the examples, but those were quite simple. I'm afraid that when I will need more complicated functions, I could have problem to write them. So I have a dilemma, and I don't know from which of those I should start.
jQuery license details
Hi! A few weeks ago I already postet a comment into this forum to inform about the use of jQuery in commercial projects. I got a reply by a user in this forum, but there is still a question, I don't have an answer to. So maybe an official member of jQuery could reply to my question. In MIT-License it says that the "copyright notice and the permission should be included in all copies or substantial portions of the software". So if I create a website and sell it to my customer - what do I have to do
Strange issue with Masonry and infinite-scroll
Hi! I'm trying to configure both masonry and infinite scroll on my wordpress theme. The page I'm working on is this: http://www.photocracy.eu/ If I scroll the page the new images are loaded, but they are displayed in a very strange way, like a mess! I can't see any relevant error from firebug, but I think it is a callback problem. I use this code: var $ = jQuery; var $container = $('#sort'); $container.infinitescroll({ navSelector : "#nav-below", // selector for the paged
jquery ajax call to Rest Service
I' m trying to invoke a Rest Service (wcf rest service) : http://arduinomonitoringservice.cloudapp.net/ArduinoDiagnosticsService.svc/Agents => The service returns json data. But when I try this from a jquery ajax call, it fails: I'm receiving an error or if I change the datatype to jsonp I see parseerror was not called. My js code: $.ajax( { type: "GET", url:'http://arduinomonitoringservice.cloudapp.net/ArduinoDiagnosticsService.svc/Agents',
how to stop a function?
Hi, folks I'm new to jQuery, so maybe it's a simple thing, but I couldn't find how to do it. I have the following code that makes a word to change continuously when the mouse is over that particular word, but I can't stop it when the mouse leaves the same word. Considering that there are several words on my text that triggers the same behavior, things become messy when all words change at the same time. Is there a way to stop the function when the mouse leaves a word? Thanks a lot! var terms = ["WORD
blue color of such number, fax and email
hello :) please I have a little problem, I ready inserted a phone number and email to my mobile site is based on this site but I can not change the color of the following number and email still blue (just on my page index) thank you for your helps
Next Page