• content from a wp page, to HTML on different host/domain

    Hi, Do you know about phonegap? It's a service that makes from HTML5, CSS3, and JS files a mobile app for: Android, iOS, BlackBerry, Windows Mobile, and more. How does it work? You archive your HTML, CSS and JS files, and upload it to phonegap, and within seconds, they generate the app. The app is actually a WWW folder, that the app loads, on specific platform (android, iOS, etc). I've bought a html + CSS + JS (JQuerry mobile) template. It's working perfectly, but I want to load on services.html,
  • jQuery UI - Menu

    Hello all, I have a question. I have a multiple  level jQuery UI menu and on third level down it "blends in" with level underneath (please see a screen shot below). Does anyone know what could cause such an issue? Thanks a lot.
  • Please create the ability to have stationary DIV's that look like Dialog boxes with title bar and minimize button.

    Please create the ability to have stationary DIV's that look like Dialog boxes with title bar and minimize button. That way everything will look the same theme wise without a lot of code. I of course am able to simulate the look of my DIV's with the rounded corners and the title bar with a minimize button. But thats a lot of DIV's and CSS and code. Thanks. Instead of "dialog' you could call it 'divbox' or something like that. Thanks.
  • Using jQuery to show/hide a field based on 2 dropdown fields

    Hi everyone, Ive got a jQuery script which shows a SharePoint field based upon a dropdown value. This is great but I need to modify it so that I can show a field if 2 dropdown values are matched. Ive tried a few different ways but I cannot for the life of me get it to work. Im only learning jQuery so am more than likely falling down here. The current code to hide 1 or more SharePoint fields based on 1 dropdown is:   <!-- SECTION 1.0: SHOW 'RESPOND WITHIN 7 DAYS' OPTION --> // since we will be accessing
  • first page hidden in DOM causes duplicate page id on self submission

    Hello, I have a form page which is submitting to itself. By the way, the website is not ajax based, but still I would like to keep JQM ajax enabled. So, on this form page there is an HTML element (#address-email) that I generate with a custom javascript : $(document).on('pageshow', '#page-contact', function(){     $('#address-email').html('<a href="mailto:xxxxxx">xxxxxxx</a>');     $('#address-email').trigger('create'); }); Everything works fine, except that when I submit the form and get back to
  • Rounded corner problem in jquery mobile

    In Android, rounded corner in jQuery mobile is not smooth. Any fix for this other then using image solution because i have so many rounded corner in my app so not possible to use image on each place so please help me. In ios is smooth but not in android.
  • Using data parameter of _.template to pass an array of values

    Hi,     Am new to backbone.js and was trying to pass an array to the view via the data parameter of the template. I did the following: Template: <% _.each(names, function(name){ %> <li> <%= name %> </li> <% }); %> View: var MyView = Backbone.View.extend({ template:_.template($('#NamesListPage').html(), names : ['a', 'b', 'c']), render:function (data) {       $(this.el).html(this.template); } }); This code works perfectly fine and a list with item values a, b and c come up in the screen. However I
  • Hide text based on if it's an image or not

    Hey! I have some dynamic generated divs, sometimes there's an image into one of the subdivs and sometimes not. What I need to do is to hide/remove the MyText class (remove the text) if there is an image in it's sibling class called MyImage... So if there's an image I want to hide the text belonging (parent) to this div the image lives into. Hope I explained this in a readable way  here's the dynamic generated HTML: <div class="Content">       <div class="MyImage"><img src="someImage.jpg"/></div>
  • problem using detach() and appendTo()

    Basically all i'm trying to do is detach all the divs in a class and then reattach them individually using appendTo , depending on the radio button selected. Heres the Fiddle: http://jsfiddle.net/k7Hzs/10/ Any advice would be welcome. Thanks.
  • jQuery Demo Doesn't Work On My Browser

    Does anyone has a same problem with me? I'm using Chrome v26 and Firefox v18. Everything looks fine when I opened twitter, google, etc. Even when I opened my website (localsite) contains jquery, it looks great! But when I opened jqueryui.com, it cant runs the demo. Buttons, menus, etc. It looks plain like no CSS or jQuery at all. Is my browser or java lack of update? Or I just need a plugin? Please, I need to fix this
  • Using colResizable Plugin to adjust the Size

    Dear All, I am trying to create a table with resizable column.So tried ColResizable plugin,and i can use this without any problem,But in the same table i want to provide the button to minimize maximize the table column. This i achieved through normal javascript.Once i changed the width of the column using javascript.I am not able to use the functionlities of colresizeble plugin.. How can i achieve these two functions in a table.. Until i click the button to change the width of the column the colResize
  • sending data to google form

    i've a simple form in "jquery mobile" i want that the submit button will send the data into a google form with the same fields wich will send the data into the end of a google spreadsheet thank you
  • Jagged edges on Li in jquery mobile

    In my app, on Xhdpi resolution , edges of li are jagged or cutting on Android. Please help me
  • I'm trying to use a custum lib jquery mobile.

    I'm trying to use a custum lib jquery mobile. Core namespace Transition Core Pop Transition I just want to use the transition effect POP. includes all file in Html document plus it did not work. How can I use custom lib? Much obliged.
  • autocomplete question

    I have a "tags" field that will hold a comma separated list of tags, like many forums and blogs use. I would like to use autocomplete to help with the last comma separated entry. Example: "Politics, Funny, Stu" will fetch "Student, Stupendous, Stupid ", etc. And selecting one of the options will only replace "Stu". I think I can use the search event to pull out "Stu", and I think I can use the select event to replace only the last comma separated entry. First question: Does autoselect already do
  • Should I choose JQuery UI (i18n, RTL, responsive web design)?

    Hi, I am doing a website project now. I need to choose a web UI framework. I have hard time to choose one. My requirements about the UI framework and its components (such as menus, buttons, etc.) include: 1. strong support of i18n 2. support of RTL (right-to-left language) 3. responsive web design  Could someone out there tell me where the latest JQuery UI stands on these three requirements? Thanks for any help! Cheers.
  • pageinit event not fired with 1.3.1

    I try to upgrade from jqurey mobile 1.2.0 to latest 1.3.1. I replace the live method by on to create pageinit event, but the event is never fired. I modifed the index.html provided with the download to add pagebeforelord and pageinit events and it's the same problem. <!DOCTYPE html> <html>     <head>         <meta charset="utf-8">         <meta name="viewport" content="width=device-width, initial-scale=1">         <title>jQuery Mobile: Theme Download</title>         <link rel="stylesheet" href="themes/elagamobile.min.css"
  • Getting Undefined Error while printing iframe through Ctrl+P

    I have a document which pops up on the site within a JQuery Modal Box. The document has a print button at the end which just prints the document in the Pop-Up Box. I wanted to print the document, only within the iframe, through Ctrl+P. That required preventing default behavior of printing all the page including the background.  This is the JQuery Code for the printing:- $(document).keydown(function(event) {             if ( ( (event.ctrlKey == true) || (event.metaKey == true) ) && (event.which ==
  • JQM 1.3.1 long list performace ! there are solutions?

    Hi , i try to use new framework JQM 1.3.1 to create an app that, i hope, I will distribute on the app store. Unfortunatly i have serius problems with a list of items from my server. Practicaly i would to create in the home page a list of posts from my blog. Oviusly, initialy, i show only 10 title, then, the user can tap on last button and add other posts from the blog. To try the list i have create a simple script on my server that generate 500 item to show in the app: <?php for($i=0; $i <= 500;
  • How do I use JQuery

    I have only just started using App Inventor and require a date picker. I found one on the JQuery site but am not sure how to use JQuery. Do I just download files and somehow link them to App Inventor on my PC? Do I have to have JQuery on my phone to use the app or does the code get embedded into the app when I send it to the phone? Sorry if these are basic questions but I can't find a 'start from the beginning' type guide on the site. Many thanks
  • .val() on <select multiple> when no options are selected

    When .val() is used on a <select multiple> element, it returns an array of all the selected options. However, if no elements are selected, it returns null. It seems more appropriate for it to return an empty array, so that the limiting case is not treated specially.
  • PDF not displaying in modal

    man this forum is s...l...o...w... I have a div that has an image tag with the source of a pdf. Im attempting to display the pdf in a modal screen. But, it's not displaying. Any suggestions $("#pdf").dialog({                             autoOpen: false,                               modal: true,                                   async: false,                                  height: "auto",                                width: "auto",                                 buttons: {                  
  • get rid of brackets around a JSON AJAX response? JSON.parse

    I am not getting an error in the callback in firebug.  I get the data in firebug from writing to the console.  I have attached it below.  How do I get rid of the word "object" and the enclosing brackets?  The PHP code is correct.  It outputs correctly on the php page.    Well it has the brackets around everything but it does not have the word object. output from PHP page with brackets only: [{"todo":"","date":"0000-00-00","name":"","id":"609"}, {"todo":"","date":"0000-00-00","name":"","id":"608"},
  • Changed Data-Icon Background but can't get/do not know how to get the right-icon to go with it.

    Hi, I have managed to change the shape of the data-icon background using the following code but I on a list view regardless of what data-icon I add I only get the '+' sign. Also is there a way I can add the code to a specific theme only? Here is the CSS: .ui-icon {     background: #f20 /*{global-icon-color}*/;     /* background: rgba(255,255,255,1) /*{global-icon-disc}*/;     background-image: url(images/icons-18-white.png) /*{global-icon-set}*/;     background-repeat: no-repeat;     -moz-border-radius:
  • iframe - Header and footer doesnt stick

    Hi, The mobile site developed on 1.2.0 when i open it in Iframe,the header and footers doesnt stick to top and bottom. but they stick when I open it in Other browsers (whihc are not iframe) Anything I need to Do   Cheers, Vinay
  • iframe - white page between two pages transition

    Hi Team, I have a mobile site.when i try to open this in a iframe, I see that between two different HTML pages, i see a white page and then the second page comes up. example whne i click a href from Page A -->Page B ,before page B loads i seea blank White screen the Page B loads.   but when i try to open the same in normal browsers , I dont see a white page in between page transitions and work fine.   Can you please help.   Cheers, Vinay  
  • Panels Feature request for JQM 1.4

    Panels are a fantastic addition to JQM 1.3.x.  I think it would be even better if we could have panel markup in a separate html file, instead of every single page where we want the panel.  I have doubled the size of my JQM web app because of all the duplicate panel code in my app.
  • Infinite Animated Vertical Circular Scrolling

    I have a container that has a dynamically generated table inside and I want the container to have an infinite scrolling animation effect that wraps around and is circular in nature.  I have created a script that does automatically scroll the data in a  somewhat circular pattern, but there is too much of a gap from when it gets out of view at the top and comes back up at the bottom.  How can I modify my code to somehow create a better wrap around effect, where once the data scrolls about halfway through
  • Uncaught TypeError: Cannot read property 'jQuery16408036760615650564' of undefined

    Can someone please assist me to fix this issue i been scratching my head for like the whole day trying to get this solved. It was working last night now its just giving me this error and not returning data. <!-- START OF GAME PAGE  -->     <div id="gameListPage" data-role="page" >         <div data-role="header" data-position="fixed">             <h1>Directory</h1>         </div>         <div data-role="content">              <ul id="gameList" data-role="listview" data-filter="true"></ul>        
  • Transparent background but not dialog

    Hi, I'm very new to jquery and having been stumbling my way around it.  I'm doing simple things atm and am trying to get the background to appear transparent when a dialog is opened.  I found a code block that looked to be what I needed however I'm getting a funky side effect that I would like to avoid.  The background is transparent instead of an white screen, great.  The results of the dialog search are correct, however the dialog background is also transparent which it shouldn't be.  See the attached
  • header text removed after coming back from page with navbar

    This is probably a bug, but I'm a newbie so it could also be that I'm not using the library in a correct manner. I'm developing an html5 mobile app using jQuery Mobile v1.3. In this app there's a login page. In the header section, I've placed a regular text-only header with no buttons: <div data-role="header">     <h1 id="login_header">Default text</h1> </div> The header has a default text that I'm resetting to a different one in the "pageinit" and "pageshow" event callbacks for i18n purposes: $(document).on("pageshow",
  • jQuery Mobile $(window).bind for different pages.

    I would like to have two or more pages that display differently when the orientation of the device changes. At first I tried using $("#mapPage").bind('orientationchange', oriChange); That didn't fire an event and so I wound up using this: $(window).bind("pageshow orientationchange resize", function(){     if ($("#mapPage").is(".ui-page-active")) {          oriChange();     } }); $(window).bind("pageshow orientationchange", function(){     if ($("#profilePage").is(".ui-page-active")) {          $("#chart").html("");
  • blur does not work with dynamic fields

    has a street name search based on zip code, but it works only for the first line. the selector based on this class, but still added after the lines are not surveyed. http://jsfiddle.net/digaort/kDz7p/ example of a valid ZIP code: 01415005 01042000 01310200 01414000 know someone explain to me why?
  • External link to open Flexible Slide-to-top Accordion

    Hi, Hoping somebody can help me out on this problem please. I'm using this accordion for a project- http://tympanus.net/codrops/2011/10/12/flexible-slide-to-top-accordion I want to link to a specific tab from an another page but having alot of difficulty. My external link is services.php#digi and I have the following code: HTML <div id="st-accordion" class="st-accordion">                     <ul>                         <li>                             <a href="#digi"><img src="images/digital.png"><span
  • Datepicker and text input

    When datepicker allows text input, if an incomplete date format is entered and <enter> key is pressed, datepicker seems to be substituting the current date for whatever had been typed. I tried overriding this by using an onblur on the text input, and checking for a partial date (I want to accept just a YEAR input in format yy/mm/dd if that is all the user provides).  I fill this out to yy-01-01 in the blur.  This works when a blur event occurs but when enter key is pressed, the blur apparently doesn't
  • Output and format array contents to HTML table

    I am using Multiple Dates Picker v1.6.1. I basically want to grab the values in the array [picked] and produce a table with the values from the array onclick. When you hover on picked in dubug mode in Firebug: [ Date { Thur May 09 2013 00:00:00 GMT+0100 (GMT Daylight Time) }, Date { Fri May 10 2013 00:00:00 GMT+0100 (GMT Daylight Time) } ]My question is how can i display the contents of just the Day Month Date and Year in the following format "Day Date Month Year" outputting into a table similar
  • When i click on a check box, need to get an image

    Hi to everyone, Am new developper of Jquery i don t even know if the action i want to make is possible with Jquery. Actually, i want when i click on a check box to choose a product, i get the image of the product. With javascript am a bit lost. an overview :  thanks for your advises and ideas.
  • doesn't work .buttonset() on jQuery with wordpress

    I have a number of :checkbox elements that are initialized by a wordpress. Now i set .buttonset() function to #format but this is not work... like this sample:http://jqueryui.com/button/#checkbox HTML:     <div id="format">         <?php         $categories = get_categories();         foreach ($categories as $category) { ?>         <input type="checkbox" name="check" value="<?php echo $category->cat_ID; ?>">         <label><?php echo $category->cat_name;?></label><?php } ?>         *//ADD STATIC
  • works in Safari but no other browser - not Firefox, Chrome, or IE -- why?

    using jQuery v1.9.1 ....test.html and test2.html are unformatted text: <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Dynamic Header and Body</title> <style type="text/css"> #headerData { font-size:36px; height: 40px; width: 500px; border: thin solid #000; } #bodyData { font-size:24px; height: 200px;
  • PHP

    Which is the best site for learning PHP
  • 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