rottentomatoes movies API..
How to display results from rottentomatoes movies API.. Thank you.. I am new in jquerymobile
Horizontal Parallax with jquery and css
I came a cross this page recently http://tinyurl.com/oan2y7t and I was wondering how the author achieved such a nice horizontal parallax effect. I am well aware of all those different tutorial on the internet, but I can't figure out the approach to get a horizontal parallax effect with two or more layers besides each other. Maybe someone can give me a hint or simple approach to achieve that by using jquery and css?
Issue with Navbar
Hello, I am seeing lines in my navbar buttons, and the icons are showing duplicates. I have attached a screen shot and a snippet of my code this relates to. What could be causing this? Please advise.
Loading alternative pages into jQuery Tabs via ajax/PHP/CodeIgniter - refresh problems ?
Hi, I'm not sure whether the following problem is a Javascript or PHP issue, but I'm stumped right now. I'm building an application. Part of it contains a section that is broken down into tabs. Because the information in each section is inter-linked, I can't load the contents of each tab at the outset. Each time a tab is clicked on the page is loaded via Ajax and if the data on the page is modified and updated, it is submitted back to the server via Ajax and a new page is generated via PHP and returned.
$.post and json encoding
Hello to all sorry for my bad English. We illustrate my problem sending the data via $.posts and I get the json using php json_encode($dati,JSON_UNESCAPED_UNICODE))the data that I get is as follows {"errore":"","alternative":"单恋日记中 的少女片恋の日記少 女Machiboto KitariMegane Danshi TokushuuThe girl in the diary of unrequited love"} The javascript that sends the request and processes it is this $("#parse").click(function(){
Changing the initial load page/div in jQuery Mobile
We have a page which is heavily data-driven and so users could be navigating to a HTML page which, depending on the user, could potentially see a different landing div (where data-role=div). Currently, the solution I have worked out so far is as follows (this is a jQuery Mobile/PhoneGap application, hence the deferred bit at the beginning in order to combine the two events into one). var deviceReadyDeferred = $.Deferred(); var jqmReadyDeferred = $.Deferred(); document.addEventListener("deviceReady",
How to check that JQUERY AJAX call is completed
I have a page where I have to bind the few controls via ajax call. Country drop down, state drop down on the basis of selected country, city drop down on the basis of selected city. Nested data binding is working fine. But If I have some initial values of country, state, city & I have to set the selected values, then this is not working. I am calling a function to set initial values like below: function bindandsetvalues(_country, _state, _city){ // function to bind countries via ajax call. ajax
problems with tabs
Hi, I've problems with my jquery tabs. Clicking on the link does not change the tabs "biografia" and "palmares". how can I do it? Thanks a lot JAVASCRIPT - JQUERY $(document).ready( function() { $('.tabs a').each( function() { $(this).click( function() { $('.tab-content').fadeIn("slow").hide();; var tabSelector = $(this).attr('tabSelector'); $('#' + tabSelector).show(); }); }); }); // script per aggiungere-rimuovere la classe "activeTab" sul tab $(document).ready( function() { $(".tabs a").click(
Why editing is not working in AJAX interaction into a PHP site using jQuery and the jQueryUI framework.
Hello Everybody, Can anyone tell me, why editing is not working with this code ? This is the link : http://jeremydorn.blogspot.com/2011/...i-and-php.html When i incorporate this code. Than it displays ok. But when i want to edit the information it's not working. In addition to this it will be really very helpful if deletion can also be added with this code. Thanking You Megha
Module names and test names prevent QUnit operating
Hi, I've just started working with QUnit this morning and I'm getting some unexplainable behaviour. Calling a module anything other than "QUnit Test" and a test anything other than "Sample test" will prevent the tests from running at all. This works (in Safari 4 and Firefox 3.6): var domReady = function(f) {document.addEventListener("DOMContentLoaded", f, false);}; domReady(function(){ module("QUnit Test"); test("Sample test", function() { expect(1);
Simplify chain of setTimeout
Hello Jqeury fans, is there a way to make something like this: setTimeout( function(){ $("#arrowNext").trigger('click'); setTimeout( function(){ $("#arrowNext").trigger('click'); setTimeout( function(){ $("#arrowField").trigger('click'); setTimeout( function(){ $("#sub").trigger('click'); setTimeout( function(){ $("#arrowTrailerField").trigger('click');
check if field (already) contains a word
before populating, the following <div class="PAN2"> <input type="radio" id="pick2" /> contains only [object HTMLInputElement] the user can populate this field with a word or not. how to check at some stage if the field contains a (any) word?
Navbar Issue
Hello, I am seeing lines in my navbar buttons, and the icons are showing duplicates. I have attached a screen shot and a snippet of my code this relates to. What could be causing this? Please advise.
jquery on keypress to calculate marks
Hello Guys.. I am new to jquery and I will be very grateful if you could help me. have a look at my code to better understanding it The javascript part <script> $(document).ready(function(){ var a=0, b=0; $(('input#a')[0]).bind('keyup', function(e){ a = parseInt($(this).val()) || 0; var c = (a + b); $(('input#c')[0]).val(c); }); $(('input#b')[0]).bind('keyup', function(e){ b = parseInt($(this).val()) || 0; var c = (a + b);
[jQuery] pull in link url as well as image url from xml file when loading images dynamically
I'm able to use the dynamic loading method to create an xml file via php that gives me the list of image urls. However, i'd also like to pull in another node from the xml file 'pid' to help me construct the link that will be associated with each image. the xml i'm creating is below: <?xml version="1.0"?> <data> <total>11</total> <pid>221</pid> <image>http://www.thisismysite.com/wp-content/finds/thumbs/ homegoods_001_1__1.jpg</image> <pid>229</pid> <image>http://www.thisismysite.com/wp-content/finds/thumbs/
Progress Bar every 2 seconds
I have a working fiddle here to show progress bar but what I want is to load the bar until it reach 100% of its width every 2 seconds. this is the link Progress Bar Sample. Hope you can help me
Instantiating a jQuery plugin multiple times, triggers multiple click events.
I am writing a pretty simple jQuery plugin that slices `ul` and `ol` elements and appends a `More/Less` link to the bottom. The plugin works fine if I initiate it once on the page.but say if I've got to use it on different lists with different options and i instantiate it on different elements on the same page. It works, but a lil messed up. So say if I use it on 2 lists on a page. The first list gets Instantiated 2 times therefore making click events to be triggered 2 times, Now, if I add another
Go to url then hide/show div
Dears, HTML code is: <a class="first-l">First</a> <a class="second-l">Second</a> <a class="third-l">Third</a> <a class="redirect">redirect to second</a> <div id="main"> <div class="first"> <h1>First</h1> <p>Test-1</p> </div> <div style="display:none;" class="second"> <h1>Second</h1> <p>Test-2</p> </div> <div style="display:none;" class="third">
How to use more than one jQuery function/action?
Hello, I think my problem is just the way I am writing these two jQuery functions that is the issue, because my first one worked on its own until I tried adding in the second one - now neither will work. I don't necessarily want these events to happen at the same time, but want them both to happen, if that makes sense. Can anyone help me with how I am formatting this? <script> $(document).ready(function() { var bodyHeight = $('body').height();
a tracelog that bridges across setTimeout(), setInterval(), callbacks, recursive functions - done - needs polishing, but how?
My javascript framework http://fancywebapps.com does a lot of things asynchronously, and is designed to process at the same time multiple user requests for calculations on sometimes large datasets (delivered always in JSON in my case). I was facing the problem (time and time again) that I could not keep track of which "userAction" (page load, click somewhere, hover over something, etc) was responsible for any given still-buggy function's execution in the debugger, due to the fact that "the default
Using jQuery Validation plugin with Uniform
I'm using Uniform to change the look of selects in a form. I'm also using jQuery Validation to validate the form. The problem is that Uniform updates the HTML like this: <div class="selector" id="uniform-state"> <span>Please choose</span> <select name="state" id="state" required="" aria-required="true" class="required"> <option value="">Please choose</option> </select> </div> When submitting the form, the validation plugin correctly assigns an error class to the select
Fixed div to fade in and out when footer appears
I have a query where i have a fixed div with contact details that i would like to be on show until the footer is in view then it will fadeout. When the footer is out of view when the user scrolls up, the fixed div then fadesIn. I have had a look at some examples and using my own div tags and styling and nothing happens. An example i have used is: $('#footer').appear(); $('#footer').on('appear', function(){ $('#fixed_div').fadeOut(); }); $('#footer').on('disappear', function(){ $('#fixed_div').fadeIn();
List or page load based on GPS location limits
Hi I have 2 questions. 1- how can I draw different map limits? For example draw a path around Los Angeles and another one around San Francisco, so if a user is GPS located inside LA, then a list or some information can be loaded relating to LA and a POI can appear with the directions to there. 2 - the tricky part also is that even if a user is nearer to a POI but he is not in that delimited zone, the POI related to that zone is the one that should appear to him so as that information. Thanks for
Importance of serialize() in ajax() Method
When I use this method in one of my functions to communicate with the server, for some reason it would work when I took out the "serialize" portion of the function. For instance, I have this: $("form").submit(function(event) { var $form = $(this); var $inputs = $form.find("input, select, button, textarea"); var serializedData = $form.serialize(); $.ajax( { url: "some url", type: "post", data: serializedData; dataType: 'json'
how to resolve an easing conflict between UI and plugin
I have a web page which uses both the accordion UI and a plug in menu from apycom.com which has a nice sliding menu effect. This effect depends on an easing call defining 'easin, easinout, easeout, etc. However unless I comment out this call I get an error when I select one of the tabs on the accordion UI. So at the moment I can't use both simultaneously. the error is (from jquery.min.js): 'c.easing[this.options.specialEasing && this.options.specialEasing[this.prop] || a] is not a function'
Understanding custom events...
I can understand the example below well, except: in the last click function, there is a .length property attached to `$(''.lightbulb.on')`. Im not sure how the .length property is working here. If someone could explain this for someone who is still very new to jQuery and javascript. Thanks. `$('.lightbulb').on('changeState',function(e){ var light=$(this); if(light.hasClass('on')){ light.trigger('turnOff'); }else{ light.trigger('turnOn')
Messaging system in real time ??
I'm trying to make a messaging system like "Whatsapp", "Line", "WeChat" etc etc ... In jQuery Moobile, I have understood that I use sockets, but need some guidance, because this is new to me. The system only has one on one conversations. No group conversations. You will also have state changes. I have already run the chat, sending messages and everything, just need to be real time .. Can anyone help? I should use?
Is it unusual that jquery ui CSS fails W3C Validation?
Validating my site (www.bigsurgarrapata.com), The W3C CSS Validator found 26 errors and 26 warnings, but most of them were in jQuery CSS files. Is this to be expected? I'm using jquery 1.9.1 and jquery-ui 1.9.2
combining fadeIn and slideToggle with JQuery.1.9.1
I'm new to jQuery, an I'm using jQueryHeadFirst book to learn it. The application demonstrated in first chapter of this book mixes fadeIn and slideToggle effects. It works fine with previous version of jQuery (1.6.2) but the fadeIn has no effect with the latest version 1.9.1. (tested with firefox and chrome) Any hint ? Here is the source code of the html page. <!DOCTYPE html> <html> <head> <title>Furry Friends Campaign V.1</title> <style> #clickMe { background: #D8B36E;
Performance problem on checkboxes in listview
We have a listview that is dynamically loaded over xhr. However, parsing and adding all the jqm specifics with trigger( "create" ) takes an awful lot of time. I created a jsfiddle, http://jsfiddle.net/bZYJq/22/, that describes our problem. Timing is printed on console. Any help to get more speed out of this is appreciated :) regards, Robin
keyvalue pair in jquery autocomplete
Hi In my android phonegap app,i have used jquery autocomplete feature.I need to get the keyvalue pair in autocomplete Here is my example code: var Person = [{"Prateek":"hello"},{"James":"android"}]; $(".searchbox").autocomplete(Person); When i type 'j' in the textbox i need to get android instead of james in the autocomplete textbox.But i am getting error and result is not shown in textbox.And i am using autocomplete js which can be used also in asp.net Please guide me where i am wrong.Thanks In
jCarousel and Audio.js
I'm having issues with these two working together. On the following page I have a content scroller that has jCarousel included to allow for the up and down scrolling functionality of the slider titles on the left side. At the bottom of the screen is an HTML5 audio player via audio.js. Everything works great except for Safari. When I remove the audio.js script from executing, then the jCarousel will work - but if both are activated then it will not scroll ONLY in Safari. I'm fairly new to jquery so
a small wiggle when change page at header and footer transition
Hello guys, i don't know if any one can help me, i have this little issue, when i changed page, that my header and footer are fixed i see a small wiggle, they continue in the same area but u can see for a while that they move a little, i don't know if u understand me, but if any of u could help i will appreciate a lot
Using Datepicker and Tooltips
Hi I am using the datepicker with an input box, which is inside an <li> element (for formatting purposes). The <li> element has a tooltip attached to it. Both work fine, and it is more of an aesthetic problem, but when I click in the input box, the datepicker appears. The tooltip is also showing, because we are hovering over the <li> element, but behind the datepicker, as I have altered its z-index. If you then move out of the <li> element area, the tooltip disappears, as it should. However,
Intellisense not working in Visual Studio 2010 for jQuery widget when base is specified
I have problems with getting the intellisense fully work for my jQuery widgets in Visual Studio 2010. For a widget the intellisense works fine when no base is specified. But when I do specify a base the intellisense stops working :-( In the following code intellisense works: /// <reference path="/jQuery/jquery-1.8.3.js" /> (function ($) { /// <param name="$" type="jQuery">Pass jQuery</param> $.widget("space.baseWidget", { _create: function () {
Why has my YouTube jQuery stopped working?
I've got a "YouTube" tab on my page; this jQuery worked previously ("searchTerm" is a val entered by a user; if empty, it has a valid default value ("jquery")): var urlYouTube = "http://gdata.youtube.com/feeds/api/videos?vq=" + searchTerm + "&max-results=42&orderby=published&alt=json"; $.getJSON(urlYouTube, function (data) { // Loop through each feed entry $.each(data.feed.entry, function (i, item) { // Get the URL for the
how to speed up changepage in jquery mobile for phonegap app?
I am using jquerymobile 1.3.1 for my phonegap android app. The change page methord is slow (more than 1 sec) in android without page transition (defaultPageTransition=none). any IDEA?
What is $ in jquery
Hello All, An interviewer asked me a question and i had no answer. Can someone please explain it. Question was : What is $ in jquery. if it is jquery Object. Then we should access function like this $.(document) instead of $(document)
Metadata Field data retrieval
Hi All, I need to Retrieve data from a metadata field for validation purpose. If anybody has a script working on this, kindly share it with me. Regards, Vamsi
Highlight Rows
Hello, I was wondering, if there is any jQuery code that I can use that will highlight the table row yellow, when one of the cells equals "Value 1" and the checkbox on the same row has been checked. Is this achievable? Thanks in advance.
Next Page