Update content on mobile website
Hi, I am new user of jquery mobile, i want to make a mobile version of my website with the help of jquery mobile framework, so i want to confirm this, is that possible that if i will update content in my desktop website it's also update on mobile website simultaneously. Please help if it's possible
Jquery Plugin for multi-page form
Hello, I have in my site a mutli-page form : the user starts a campaign and so inputs a serie of texts. Does it exists a really cool designed jquery plugin ? Best, Newben
Desktop & Mobile both w/ JQM?
I've looked at several discussions of whether or not JQM can be used both for desktop browsers and for mobile devices. Unfortunately they are divergent, probably because JQM is so new (and great!). So as a noob, and someone looking for a reasonable, simple JQ UI solution, can I use JQM for both my desktop pages and mobile pages? I was hoping I could just assign a div to JQM and all would be fine. Would that work? Also, the group I work with is building both desktop and phone sites, so if we could
How to make CSS style for sertain date at Keith Wood datepicker plugin?
For example, how to make red background only for Jan 7 and Oct 31? At the moment I did this ajustments: http://jsfiddle.net/neoandrej/wjwa5/2/
callback for final iteration of .each
I am using .each to iterate over an object and add elements to my page that corresponding to each property in my iterated object. Once I have added all the elements to my page, I want to do something like - $('.addedElements').draggable(); Unfortunately, .each does not allow me to provide a callback to execute after the final iteration. One suggestion in the comments of the .each help page was to check indexInArray against collection.length. But, of course, indexInArray isn't really an index if
Could you show how we can open a specific tab in the accordion from another page?
Hello, This is my question from stackoverflow.com: I have been following tutorials from "learnnerd", a Youtube contributer. http://www.youtube.com/watch?v=WjHt_v6nK_E&list=UU08OUGXLKqlnADsUDqA8evg&index=2&feature=plcp have made my website using the codes he provided. Here is my website: http://www.alliedantennas.com.au (check services) I would like to link a tab on my home page to open a specific accordion in my services pages. I've researched but still know little. I don't know much about
bind a function to all "select" that runs on change
Hi guys, I hope someone can help me out here... I'm pretty new to jQuery and am trying to attach a function to the change event on all the selects on a window, but I don't really get how to do it. This is what I have thus far: $("select").each($(this).change( function(){ alert($(this).val()); } ));
Multifile upload problem with no attached fles
I'm having a problem using the MultiFile plugin with Spring MVC. It works fine when one or more files are attached; however, it fails when no files are attached. From Firebug the request is: -----------------------------23805158906729 Content-Disposition: form-data; name="ksUrlId" 5 -----------------------------23805158906729 Content-Disposition: form-data; name="ksUrl" http://localhost:8080/sadlserver-cxf-service-1.0.3/SadlService -----------------------------23805158906729 Content-Disposition:
help - blueimp jquery upload widget partially overwritten by appended view
I am using codeigniter 2.1 along with the blueimp jquery upload plugin. I am now trying to use the plugin as part of a dynamically generated page, made up of several views. To do this my controller contains the following: $this->load->view('blue_view_widget'); // the file upload view $this->load->view('form'); // a form I now see that the template-upload and template-download table (which is generated by javascript) is overwritten by the html from the form view. I'm thinking ( maybe incorrectly
audio player which can play m4a, is there any jquery player?
Hello guys, I need html audio player which can play m4a, I have been researching from the web but I couldn't find anything. Is there any jquery audio player which can play m4a? or do you recommend me any audio player? In addition, it should be easy to implement. In other words, I just need simple audio player which support m4a. Thnaks for your help.
Using a lightbox with "download hi-res" link
I need a simple lightbox where below each photo there can be a small link to download a hi-res version. I have tried at least half a dozen and none of them have this feature. If I were a more sophisticated coder, I could probably customize one, but I dont really know javascript, just html/css. Can someone recommend a jquery lightbox that will allow this (easily) or give me straightforward instructions on how to add it to an existing one? In terms of the light box, I don't want all the bells and
query not refreshing data
hi i have setup a rest service that is exposing some data via get. i can consume the service with jquery and show it on a html page. my problem is the data does not refresh. to get the current data i have to close all browser tabs and reopen. scenario : 1 - wcf exposes a 3 records 2 - jquery html client web page consumes the service and shows the 3 records , working on workstation 1 3 - add one extra record from workstation 2 4 - on workstation 1 if i refresh nothing happens.....i have to
validation doesn't seem to be working properly
Hello, I have a problem with validation plugin. It was working but now it doesn't. I don't know why this has been happened. the question is on stack-overflow. http://stackoverflow.com/questions/11719424/validation-in-jquery-doesnt-work and here is the code that I have written. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"
how programmatically set button pressed state
I have some buttons on my JQM website that have regular anchors to them. When I have pressed one it turns green (that's the pressed state I suppose), which is good, then the next page loads and shows. Now when I make such a button without an anchor it doesn't turn green when pressed anymore :(. I bind events to those buttons to make a back button and a to top button. The user doesn't get any feedback when they touch them. Is there a way to force such a button into its (un)pressed state? (empty anchors
Simplest slider - Ever! (That dosn'tt work properly)
I have been playing about with Snook's code. I liked it because it was really simple, and my coding skills are very basic. I have modified the effect and how it is triggered. The setInterval is triggering off the image rotation, Then the frwrds div/button is jumping in to trigger the next image. What I would like to do is, when frwrds button is clicked, I would like the setInterval to pause for a couple of seconds. Dose anybody have any ideas how do do this a simple as pos? My code-age:
setInterval - backgroundPosition
Hi, can anybody please tell me why my background is not shifting on a loop? It only seems to shift 200px and then stop. #image_box_03{ position:relative; width: 200px; height:200px; margin: 0 auto; background-repeat:repeat-y; border: thin solid #000; background-image: url(images/number%20sprites.png); background-position: left top; } <script type="text/javascript"> setInterval(function(){ $('#image_box_03').animate( {backgroundPosition:"(-200px 0px)"},{}); }, 1500); </script> Thanks for any help.
Get a td's title attribute.
Hi, I have a table that has many cells. Each cell has different title attribute. My original code was to get the text of a cell. How to modify it to get the cell's title attribute? var showTooltip = function(event) { var authorName = $(this).text(); $tooltip .text('Highlight all articles by ' + authorName) .show(); positionTooltip(event); }; Thanks.
Can't print all selected results from a custom select menu in JQM 1.1.1
With custom select menus, I am finding no way to show "all options were selected". Is there a way with ether javascript or PHP to show what options were selected from a single custom select menu? This is the code I have in my HTML <div id="ordersteak" data-role="fieldcontain"> <label id="labelsteak" for="select-steaks" class="select">Steak</label> <select name="select-steaks" id="select-steaks" multiple="multiple" data-native-menu="false"> <option>choose
jQuery malsup Form Plugin Ie 7 failing
Hi I'm Using the plugin from http://malsup.com/jquery/form, which works fantastically in FF and Chrome but is throwing errors in IE 7 which is a pain as most of the users will be using I.E. I am using * jQuery Form Plugin * version: 3.09 (16-APR-2012) I have tried both jQuery 1.4.2.min.js ans 1.7.2.min.js libraries I have switched on IE debugging and it is reporting: Runtime error Line: 121 function expected this is the line the debugger is highlighting: // give pre-submit callback an opportunity
dynamic table row creating and ajax
I am new to jquery. Can someone please help me ? I have a table, and a select box. On change of the selection, I need to dynamically render a new row containing response from an ajax call. So essentially I need to create a new row and to load html into the new row. Here is the html <table id="myDiv"><tbody><tr>....</tr></tbody></table> js finction jQuery("#myDiv).closest("tr").after('<tr id="myDivv" />') ; jQuery("#myDivv").load(url, settings) ; I dont see the new row being added. However
BeautyTip Inside Another Beauty Tip
How can a beauty tip be added inside another beauty tip container? The default behavior is to close all other existing beauty tips.
BeautyTip Dynamic Height
Is there a way to resize (particularly the height) the outer container or canvas of the BeautyTip when new content is dynamically added after the tip renders? The problem is that the tip needs to grow vertically when a div tag gets dynamically built with help information. The div tag is displayed when a user clicks an item inside the tip. Currently, when the div displays it pushes all other elements outside the boundary of the tip. A couple of resolution attempts include setting the bt height
PHP file for submitting jQuery Mobile form
Hello, I made a jQuery Mobile page with a simple form; Just Name, message and a submit button. This is my code: <form action="sent.php" data-ajax="true"> <div data-role="fieldcontain"> <fieldset data-role="controlgroup" data-mini="true"> <label for="textinput5"> Name: </label> <input id="textinput5" placeholder="" value="" type="text" />
Icons show up on desktop, but not on mobile ...
I'm having trouble getting my right icons to work on mobile devices. I'm really trying to customize the site, so that may be the issue. However, the icons show up fine on my desktop browser. They just don't work on mobile (iOS or Android). Any suggestions? http://test.printing.umn.edu/boyntonmob/hourslocs.html
Help with .click(function () and HREFs
I am trying to have a .click on any <a> tag inside my <div id="test">. If they are inside a <li>, they do not work. Code... $("#test a").click(function () {.... // Function to open in iFrame new_window($(this).parent().attr("id"), $(this).attr("href"), null); If I use without <ul><li> it works... <div id="test"> <a href="index.cfm?action=statusTracking.statTrkLSDconvert" onclick="return false;">test link</a> </div> Adding UL and LI does not work. It hits the function, but then just refreshes
wrapAll two siblings - How?
Hello, I want to wrap two html elements with a <div>. I want only the <img> that has a next sibling '<div class="last">' and '<div class="last">' that has the previous sibling <img> First I tried with no avail Code: [Select]$('.main img ~ div.last').wrapAll('<div></div>'); I've tried adding Code: [Select]$('.main img ~ div.last').prev().next().wrapAll('<div></div>'); But that just wraps the next sibling, not including the previous. Could someone point me in the right direction?
Performance issue with JqueryMobile and PhoneGap
I build a app using PhoneGap and JqueryMobile containing several html and js pages. And in all the Html pages I have included the JqueryMobile js files in the Script tag. eg: <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script> Clicking on any button to change the page always takes around 5-10 seconds to react both on iPhone and on Android phones. Navigation from one screen to another taking
Calculate distance of swipe event?
I am trying to determine how far a use has swiped. For example. If the user swipes a little I want to close a "drawer" enough to see part of what's behind it. If the user swipes more than half the screen I want to close it completely. I don't see any obvious way to tell how far the swipe has traveled. However, I was able to modify the code enough to add this additional data. In the definition of $.event.special.swipe there is a handler for the touchStopEvent. In that method I changed this: start.origin.trigger(
jQuery introducing decimals/float errors into CSS() assignments...
Sorry if this isn't the right place but this is somewhere between a question and a possible bug report. Noticed this earlier against the latest 1.7.2 (testing in Chrome latest public release on W7-64) - not seen anything like it before so I'm wondering if something has changed recently? I've been testing a simple loop which moves something across the screen - but I'm seeing odd behaviour (almost certainly related to float errors) when setting CSS Properties through jQuery. Basically I do something
getting object expected error on document.ready function
<script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript" ></script> <script src="@Url.Content("~/Scripts/jquery-ui-1.8.18.custom.min.js")" type="text/javascript" ></script> <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script> <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>
Change code with javascript/jquery
I have a flash music player that uses javascript for embedding. I was wondering if there was a way to dynamically change the url of the mp3 when you hit a certain page. Is this possible?
How to make onSelect for sertain date at Keith Wood datepicker plugin?
For example, how to make an alert only for Jan 7 and Oct 31? I did next but it did not work: var christmas = new Date(2013, 1 - 1, 7); var halloween = new Date(2012, 10 - 1, 31); $(function() { $('#inlineDatepicker').datepick({ onSelect: function(christmas) { alert('The chosen date: ' + christmas); }, onSelect: function(halloween) { alert('The chosen date: ' + halloween); }, }); });
Accordion menu item active problem
I added jquery accordion menu on my project.Its working.My problem is what ever the category i am requesting that should be in active.How to do that.This my link please check that http://www.movies.iconwebservices.com/hollywood.php?cat=hollywood I requested hollywood so,hollywood should be in active.
highlightfade.js
Hi, I'm currently using the highlightfade.js (in this script http://flesler.blogspot.se/2007/10/jqueryscrollto.html) for my website. It works great except that I'm using a rgba background-color with opacity (0,0,0,0.7) in my CSS. Can you help me to fix the script so it works nicer with the opacity setting? Right now it works but it goes from opacity --> fade to white --> then just flashes back to the opacity background color. It would be nice if it could actually fade back to the opacity… I would
hideing task bar,browser address bar,menu bar in jplayer
hi, i want to full screen on j player , when i click on full screen video video should display completely at the place task bar, browser addressbar and menu total monitor should cover with video , how it is possible? can any one help to me. thank you.
Title tag not displaying on iPad2
Since upgrading our web app to JQM 1.1.1 the Title tag is not being displayed in the web browser tab on iPad2. It is blank when the first page loads, and remains blank when navigating to new pages. It works fine on desktop browsers and even on the newer iPad3.
How do I get the value of id="question_type_' + count + '"?
I'm having some trouble with getting the value of my radio buttons here: http://testing.feministbitch.com/index.php/quiz_creator. I have the full code at the very bottom. When you click add question, I made it so that people can choose the following radio buttons: true/false or multiple choice. I'm trying to do this: Based on whether they choose true/false or multiple choice, further radio buttons or inputs+drop downs would come down underneath the question. But i'm failing. Please help me :).
Cannot hide element on callback
Hi, I am building a set of control buttons using ASP MVC3 and JQuery 1.5.1. On my page I am showing a couple of images which I am attaching click events too in order to fire a post ajax request to retrieve a partial view from my controller. I am them appending a new image to provide the accept changes functionality once the view data has been changed. When I do this I want the image button that has been clicked to hide so the user cannot press it again, however no matter what I try the button refuses
Menu Hover Event Problem
Hi guys, I'm styling up a vertical 2 level navigation menu for a client website and I am having difficulty with the hover event for a parent li. 'About Us' and 'Services' both have a class of 'parent' as they contain a sub-menu ul. When I hover over the parent li I have changed it's background to be black and when the parent a within it is hovered over the link changes to white. However when my mouse leaves the parent to enter the sub-menu li the link goes back to it's default black. I need the parent
i need some help
jquery plugin <script type="text/javascript"> $(document).ready(function() { $.NagAds( { // Options 'Mode' : 'frame', 'Width' : '900', 'Height' : '550', 'Link' : 'http://www.google.com', 'BgColor' : '#191e00', 'BgInnerColor' : '#000000', 'BorderColor' : '#7d910a', 'ShadowColor' : '#a8c311', 'zIndex' : 999 }); }); </script> how to add another link http://www.facebook.com
Next Page