Ajax PDF base64
Hello, As yall have probably surmised by now, I have no idea what Im talking about half the time. So here goes ... Im ...trying... to return a PDF stream from an ajax call. I have a stand alone program that runs the same code and produces a correct pdf ... Im trying to get it to display in the browser(chrome) . How do I tell the browser that the data in the response is base64 from the ajax call. I understand about the contexttype and all but it's displaying gibberish. Or crashing chrome. (like most
Download issue
I'm running OS X 10.8.3. In order to install WYMeditor a precondition is that jQuery be already installed. I click on the Download button on jQuery's home screen and select "Download the compressed, production jQuery 2.0.0." A window opens showing: /*! jQuery v2.0.0 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function(e,undefined){var t,n,r=typeof undefined,i=e.location,o=e.document,s=o.documentElement,a=e.jQuery,u=e.$,l={},c=[],f="2.0.0",p=c.concat,h=c.push,d=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=f.trim,x=function(e,n){return
jQuery Mobile without outputting extra classes for entire page
I have a HTML page optimised for a mobile device, which I have written the CSS for myself. I need jQuery and jQuery Mobile for a couple of things (like the loading message from jQuery Mobile, and $.ajax from jQuery) but not much else. Whenever I add in the jQuery Mobile JavaScript files, it processes the entire HTML page and adds its own classes to each element; whereas I'd like to disable that (running jQuery 1.9.1 and jQuery Mobile 1.3.1). I'm aware you can disable jQuery Mobile for a particular
Resizable Behavior (and Dialog)
The resizable interaction has an annoying quirk. If your mouse moves off the resize handle while the button is still pressed, the resizing stops. Release the mouse button (still outside the handle) and then move the mouse back over the handle. The resize interaction resumes. This is unexpected behavior, at least to me. You can see this on the resizable demo page (http://jqueryui.com/resizable/) in the default demo. Try to resize the sample beyond its container. When you hit the edge of the container,
jQuery Mobile without outputting extra classes for entire page
I have a HTML page optimised for a mobile device, which I have written the CSS for myself. I need jQuery and jQuery Mobile for a couple of things (like the loading message from jQuery Mobile, and $.ajax from jQuery) but not much else. Whenever I add in the jQuery Mobile JavaScript files, it processes the entire HTML page and adds its own classes to each element; whereas I'd like to disable that (running jQuery 1.9.1 and jQuery Mobile 1.3.1). I'm aware you can disable jQuery Mobile for a particular
jQuery Mobile without outputting extra classes for entire page
I have a HTML page optimised for a mobile device, which I have written the CSS for myself. I need jQuery and jQuery Mobile for a couple of things (like the loading message from jQuery Mobile, and $.ajax from jQuery) but not much else. Whenever I add in the jQuery Mobile JavaScript files, it processes the entire HTML page and adds its own classes to each element; whereas I'd like to disable that (running jQuery 1.9.1 and jQuery Mobile 1.3.1). I'm aware you can disable jQuery Mobile for a particular
jQuery Mobile without outputting extra classes for entire page
I have a HTML page optimised for a mobile device, which I have written the CSS for myself. I need jQuery and jQuery Mobile for a couple of things (like the loading message from jQuery Mobile, and $.ajax from jQuery) but not much else. Whenever I add in the jQuery Mobile JavaScript files, it processes the entire HTML page and adds its own classes to each element; whereas I'd like to disable that (running jQuery 1.9.1 and jQuery Mobile 1.3.1). I'm aware you can disable jQuery Mobile for a particular
jQuery Mobile without outputting extra classes for entire page
I have a HTML page optimised for a mobile device, which I have written the CSS for myself. I need jQuery and jQuery Mobile for a couple of things (like the loading message from jQuery Mobile, and $.ajax from jQuery) but not much else. Whenever I add in the jQuery Mobile JavaScript files, it processes the entire HTML page and adds its own classes to each element; whereas I'd like to disable that (running jQuery 1.9.1 and jQuery Mobile 1.3.1). I'm aware you can disable jQuery Mobile for a particular
jQuery Mobile without outputting extra classes for entire page
I have a HTML page optimised for a mobile device, which I have written the CSS for myself. I need jQuery and jQuery Mobile for a couple of things (like the loading message from jQuery Mobile, and $.ajax from jQuery) but not much else. Whenever I add in the jQuery Mobile JavaScript files, it processes the entire HTML page and adds its own classes to each element; whereas I'd like to disable that (running jQuery 1.9.1 and jQuery Mobile 1.3.1). I'm aware you can disable jQuery Mobile for a particular
Jqm 1.3.1 doesn't work with jq 2.0
Hi ... the problem is in subject the error, during the page transition is: (firebug dixit) TypeError: $.data(...) is undefined var $theme = $.data( page[0], "mobilePage" ).options.theme, jquery....3.1.js (riga 10313) Do you have the same problem??? thanks in advance for your reply
unable to hide image on load ..while navigating
Hi, I have a file called store.htm and it has a href which points to another page called mobile.html. when i click in the Href whihc point to the mobile.html,i am navigated to the mobile page but , (the javascript is not firing)(logoff button is not hidden),but when I refresh the mobile page , I see the javascript alerts firing but not when I redirect from store.htm page. here is what i ahve in store.htm <li><a href="Mobile.html" data-transition="slide"> <img src="test.png" class="ui-li-thumb"
How to develop tablet Application using Jquery Mobile?
Hi, I am developing tablet application using Jquery Mobile.Please specify Tablet UI components and examples on how to use those components.
Page is cached in mobile
Hi, I have a page called store.htm - static page it contails multiple pages and all it contains is lists and uls. when i udate - add a href list item and come to Mobile and refresh , i dont see the newly added list item in there. but after multiple manula refreshes it shows up on my mobile. YPE 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> <title>mytheme Appstore</title>
Give me a solution for this ERROR
I am having this error while migration old version to new version. Uncaught Error: cannot call methods on button prior to initialization; attempted to call method 'widget' Tell me how to solve this ERROR.
jquery location?
Still struggling with this, got the link to and nav-indicator to know where to go to but as soon as the DOM is finished the location is lost woodfellows.paston2.webfactional.com At a guess I need to pass the triggered location back to the setIndicatorPosition function although I cant even see where the position is being reset or lost. <script type="text/javascript"> 17 $(document).ready(function() { 18 $('#nav').append('<img src="/media/images/base/nav-indicator.png" id="nav-indicator"
opening popup causes the browser window looses focus on IE9
In the example of the DIALOG implemented with a POPUP (here) starting from the second time the dialog is opened the browser window looses focus and becomes the last one in the windows stack. This happens on IE9 in windows 7. The problem doesnt appear on other browsers(Chrome, Firefox, Opera) . I implemented a similar example (popup that cannot be dismissed and header + content data-role within the popup) and also my example has the same problem. I know IE9 is not a target, but this might be a symptom
what does “Support: Firefox 18+” mean in jQuery1.9.1 source code?
I'm reading jquery1.9.1 source code. At the beginning, it says: // Can't do this because several apps including ASP.NET trace // the stack via arguments.caller.callee and Firefox dies if // you try to trace through "use strict" call chains. (#13335) // Support: Firefox 18+ //"use strict"; I've read ticket #13335 saying because of apps like ASP.NET trace call stack via arguments.caller.callee, "use strict" was removed. but I don't understand what "Support: Firefox 18+" means? Does it mean, if you
How to make an extra cell in html using jquery
i have ajax/json method (web method) which binds html table in following way (let me share piece of code) for (var i = 0; i < data.d.length; i++) { $("#tbl").append("<tr><td>" + (data.d[i].id) + "</td><td>" + (data.d[i].name) + "</td><td>" + (data.d[i].age) + "</td></tr>"); where data.d[i].name is data return by webmethod ..up till here its working fine ..but i want to add new cell column for each row in href format i.e i need to have <a href=erum>erum</a> can any one know how to do this..
help with query cycle
I´m trying to start the slider after a few second paused and i can´t. the slider run from first to last well and then i need pause the slider for a moment and start after 5-6 second with the first slide. This is the code which makes the slide show and stopped at slide 4 $(document).ready(function() { $('.slideshow_estrategia').cycle({ fx: 'fade', timeout: 100, speed: 600, autostop: x=4, }); }); Thanks
Making categories and boxes inside sortable
Hello, I have this http://jsfiddle.net/Ja6KE/. It's a list of categories. Each category has some boxes. I need to make these boxes draggable to another category (now it works) and the whole category sortable with other categories (now it didn't work). I'm not sure how to do it. Thanks for help.
Page is not completing list
I am using a css page that someone else wrote to enable openlayers map to be displayed. Using the Android default browser, whenever I include my own pages I find that if the page is long, ie a list of 40 or so items, only the items that fit on the viewable page are listed. The page is scrollable but everything below the page height of the device is empty. Using Firefox for Mobile there is no problem and the whole list is displayed when scrolling. Everything also appears fine on my laptop, ie with
drag & drop
hi everybody , how can i drag item from list of items(items in table or grid) to canvas and return the item from canvas to list of items ? is it possible ? i believe nothing impossible with jquery
creating dynamic collapsible set
Hi, I am very new to jquery and phonegap, i want to create a collapsible-set and need to add listview in each collapsible set. Please guide me or provide me link which i can follow. Thanks:)
Jackbone, a Framework to use Backbone.js with jQueryMobile
Hi, There is a bunch of solutions to integrate JQM with Backbone, most in the form of demo applications. But instead of having a bunch of people having to maintain their own copy of this code, I found it would be interesting to provide that as an external library. Jackbone is aiming to make JQM + Backbone multipages client applications painless. Main features include: a JQM-specialized View class a Router class a ViewManager that keeps rendered Views alive for a few minutes an optional Controller
Delete the last append
I want to delete the last append when i click the back button. but when Im choosing appending again,the last append still there. this is my codes on appending. its working: $(req.responseText).find('ItemName').each(function () { ItemNameArr[ItName] = $(this).text(); ItName++; }) $(req.responseText).find('ItemQty').each(function () { ItemQtyArr[ItQty] = $(this).text(); ItQty++; }) $(req.responseText).find('ItemUnit').each(function () { ItemUnitArr[ItUn] = $(this).text(); ItUn++; }) for (var a = 0;
How to add submenu on mouseover
how to add submenu to hti menu here is the working code. http://jsfiddle.net/CFcVB/5/ thanks in advance
Wrong Letters getting peeked in password Textbox with windows phone
Hi.. I am using Miscrosoft MVC HTML password helper in windows phone 8 with jQuery validation as in following code snippets. <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> View: @Html.PasswordFor(m => m.Password) @Html.ValidationMessageFor(m => m.Password) But while typing, the wrong letter in the textbox is getting visible instead of currently
simplest way to create select menu
http://jsbin.com/apotot/3/edit <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script> <title>JS Bin</title> </head> <body> </body> <script> $(document).ready(function (){ var s = $('<select/>'); var o = [1, 2, 3]; for (var i in o)
loadJSON plugin - Select not populating
I'm truly hoping someone has experience with this issue or has a suggestion. loadJSON is populating all form fields except the select box. It is setting the value passed from the json in <select name="CustomerState" value="CA"> I'm certain the name field is correct, ie same as field returned by JSON. I am using jQuery 1.9.1 I noticed loadJSON is using 1.6.4. I am using loadJSON 1.0, I tried 1.2.5 but it would not work at all. If I can't get loadJSON to populate my selects I'm thinking I could use
Validate plugin - Ignore 'default' data-placeholder value
Hi all, I have inputs using the data-placeholder attribute as placeholder text on form fields and removing it when the field is clicked (basically mimicing the behaviour of the actual placeholder attribute). Problem is, the validate plugin (correctly) considers these fields populated so doesn't error when they haven't been populated by the user. I see that there are custom rules you can set up and I think I could somehow check if the text is the default text or not and validate based on that using jQuery.validator.addMethod.
jQuery tab ui won't get content of other tabs
I am using the jQuery tab ui and I have 4 tabs that has content. The first tab is loaded automatically but when the other 3 tabs are clicked, they are still blank - no content appears, just what is on the first tab. I'm sure there's a code that calls it, but I don't know enough about coding anything to understand. You can see the tab plug-in app in action here http://pbrunson2.mydevryportfolio.com/WGD242/. The code that I have on each page for the jQuery tab plug-in is here: <!doctype html> <html>
Date picker help needed
Hey all, I'm looking to make it so that the date range will load corresponding flash/javagram (currently) data depending on the date range selected. Is there a way to do this? TIA.
Using the resize event with modernizr.mq
I'm trying to activate a resize event on the following function: $(function() { if (Modernizr.mq('only screen and (min-width: 1140px)')) { $('div#ss1').html('<div>[snip]</div>'); $('div#ss1').append('<div><gcse:searchbox-only></gcse:searchbox-only></div>'); } if (Modernizr.mq('only screen and (max-width: 1139px)')) { $('div#ss2').html('<div>[snip]</div>'); $('div#ss2').append('<div><gcse:searchbox-only></gcse:searchbox-only></div>'); } }); I wanted to add a resize listener to it. Based on http://api.jquery.com/resize/
Java script job
Hello all of you I want one to do for me a job in java script Please reply thanks yzzoldan@gmail.com
Question about $(this).data
I'm making color swatches to click on to change the color of a piece of text. A swatch looks like this: <div class="Color" data-color="IndianRed"></div>When the swatch is clicked, a selected div gets its text colored "IndianRed" by this code: $('.Color').click(function(ChangeColor){ $('.selected').css('color', $(this).data('color')) }); which works nicely. Now I thought it would be nice to set the background-color of the swatches when the page loads in a similar way, and you don't have to add something
Text cut off on Button in two column Grid
Using 1.3.1, see image above, the "Top Picks" is cut off in portrait view on an iPhone 5, landscape displays it fine. As you can see there is plenty of space for the "Top Picks" between the icon and the start of the text. What can cause this and what can fix it? Here is my source: <fieldset class="ui-grid-a"> <div class="ui-block-a"><a id="btnSearch" href="search.aspx" data-icon="search" data-role="button">Search</a></div> <div class="ui-block-b"><a
How to embed youtube channel in jquery mobile page?
Hi all, I'm trying to insert or embed a youtube channel in my web app created using jquery mobile 1.3.1. But I haven't found any script suitable for JQM. I only find Jquery scripts that partially work with my web app. All I would like to do is to show my youtube channel and play a movie without leaving the web app. Something that will play the movie in a sort of lightbox would be enough. But all script I've tested have hardcoded links to youtube channel, not allowing me to add the class required
scroll an indicator with target and highlight
url woodfellows.paston2.webfactional.com It seems that I can either get the indicator to work (albeit not scroll across to home initially) or get my method of having the current link highlighted but not both. Can anyone debug this or point me in the right direction or tell me 'you idiot you forgot this or this is wrong' please info: this line does the setting of noncurrent, zcurrent <a {% ifequal request_meta.PATH_INFO page.url %}class="slow-scroll zcurrent_link"{% else %}{% ifequal sp.url page.url
images in gallery not showing until page rezise!?
Hello, I have a jquery accordion with an image gallery insdie.... Looks like it loaded ok, but images don't show up (although the rotation started)... If I resize the page or minimize/maximize al images appear... this is a very strange behavior... I'm using latest jquery and UI version. Is there a way to trigger this by default? Thanks!
Column toggle refresh issue in 1.3.1
Neither name of nor number of columns are updated upon refresh of the table. <html> <head> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" /> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script> <script> $( document ).on( "pageinit", function() { $( document ).one( "click", "#add_and_refresh", function () { var newCol = '<th data-priority="5">Reviews</th>';
Next Page