jquery is not functioning
im using jquery to hide certain column(DDC Correction/ radiobutton) based on the radio button(DDC Status) chosen from another column. when i include the query to hide the column (("input[@name=DDC Correction']").hide();) its not working although ive tried so many kind of ways. im using alert to try if theres something wrong with the query. any ideas? suggestions?
Why taphold does not have pageX, pageY and other coords?
I've tried versions 1.2.0, 1.1.1, 1.0.1 on android 4.1 native browser and chrome. Do i miss something or that taphold event is not implemented yet?
My Solution for transition flicker and blink on iPad
Hi guys, I searched for a solution to fix the blink or flick the page after a transition. I found a code that fix the problem but at the same time broke my layout. My intention is give more option to fix this problem. Fix on css that not worked for me. #container { position: absolute; width: 100%; height: 100%; } Actually this fix should be work but my webview has a column on left so, the width can't be 100% and the orientation change broke too. So I did this fix using the Page Events.
Dollar sign troubling me
Following code was provided to me @http://jsfiddle.net/rUbwq/2/ $(window).scroll(function(){ if(this.pageYOffset + $(this).height() > $(document).height() - 200){ $('div').css('background', 'red'); //do popup } }); in response to my question of triggering a popup when scroller reached particular height... Problem is this part: this.pageYOffset + $(this).height() why used $ in the 2nd this but not the first?
Fade in and out in a loop
Hi all I hope its simple enough, I have looked around and can't find exactly what I am after. I have a collection of hot spots (divs) on my web page and I need them to fade in and out when viewing the page so they look like they are pulsing so to speak. When you hover the cursor over one, the pulsing stops for that hotspot only. Could someone provide some simple example code to help get me started? Thanks
$.mobile.changePage not working with phonegap android emulator
Hello, I've posted the following http://stackoverflow.com/questions/12796742/mobile-changepage-not-working-with-phonegap-android-emulator. I'm not sure if my fix is a possible solution or not. ps: Should I copy all the content here?
How can I validate two fields together using jquery inline validation?
I have 3 fields (first, middle, last) names. I would like to validate the first and last name, requiring them, and checking for characters. I don't want to validate them individually. Any ideas?
growing line
Hi! I have to create a line (border of a div) that at the opening of the html page grows from left to right. Any tips? Thanks!
Theme
themes not working ie but working in all remaining browsers.
Don't want the images to stop rotating on mouseover - John Resig code
I found a great code by John Resig and used it, but found an issue with it where by when the mouse cursor hovers over the rotating image, the rotation stops (which I don't want). The test page I am using is http://www.rbwebsites.co.uk/templates/arcol4/partners.html It is 4 images that rotate but as you will see, hovering over the images stop them, and removing the cursor starts them again. I have also noticed an icon appear towards the left of the images when I hover, this icon is in the CSS code
Firefox contenteditable with on focus Bug!
Hello everyone, Im developing something with jquery, I have a dynamic html table using the content editable class with an on focus event. It works perfectly in Chrome and IE ( lol ), but in firefox there seems to be a major bug. When I Copy/Paste smth (w Firefox) in a dynamically created span the whole span is duplicated and the table expands abnormally. Maybe someone came across the same issue. Any help would be much appreciated. Greeting, GD
swipe become slower when number of <li> in listview increased
Hello, I created a carousel with swipe.js , it works fine in iOS4 and iOS5. But in iOS6, without acceleration of hardware, when we swipe, there is a lag that can not be accepted. In html code, we have a carousel list and a normal listview, it seems if there are more elements in the listview, the carousel swipe will be slower. and they are two elements independent. Here is html code <div id='slider' class='swipe' style='width:250px'> <ul> <li style='display:block'><div>1</div></li> <li
Validate a hidden field for a specific word
I'm trying to validate a hidden text field for a specific word using equalTo, but it seems to be validating false. What's the right way to do this? It works If i use two hidden fields and pass the value of one to another, but it wont work if I use only a word. I've already set ignore: [], in the plugin Can you please help me? <input type="hidden" name="aImg" value="true" class="aImg"> $("#artcForm").validate({ rules: { aImg: { required: true,
Simple Animation then show menu
I would like to know how to scroll an image into the middle of the screen, pause (x seconsds) then slide out and another image appears in the top left corner and a navigation menu down the left side. When a navigation link is clicked from the menu, can I get the content a) to be displayed in another container on the right side of the screen (with scrollbars) b) or in another window. c) the link itself be underlined to indication which option is currently selected. Thanks Darryl
dynamic jquery radio buttons using.html() not rendering.
I am trying to make some dynamic jquery mobile radio buttons by rewriting a div's html. My app retrieves data every few days into a txt file that is stored on the phone. Is uses this text information to rewrite the number of radio buttons that are choices for props to use in the game. The code written by the function below works fine when the output is pasted in manually and the page is restarted, but when I run the function from the click in the first radio button it renders as standard html with
Header toolbar partially hidden by iphone status bar
My app's header toolbar is partially hidden under the phone's status bar (see attachment). It might have started acting this way since we upgraded to 1.2. Anyone else experiencing a similar problem?
Overlay
I'm trying to somewhat replicate the effect on http://www.cla-ude.net/ Please visit jquery.ramiyahya.com to see what I've got so far... The effect that I'm after is when a user hovers over a thumbnail, the black box disappears. On click, the thumbnail enlarges and the black box disappears. So far, I've managed to achieve to a certain extent... only problem I'm facing is that onClick the overlay disappears from all the thumbnails and not just the one that has been clicked. If anyone could look at
Tooltip in a popup
Hi, Iam using tree view and i have assigned tool tip value in my code and the tool tip is very lengthy for some nodes.i want to show them pop up.can any one send the code to show the tool tip in pop up. note:my tooltip may contain images too.how to show tat ?please help me in jquery to show the tool tip in that page in pop up which may contain more lines
jCarousel buttons not showing
I'm sure this a simple fix but I just can't get the buttons to show. If it helps the plugin images are just in my images folder. Maybe the images should be in their own folder? I don't know any ideas?
Inline validation for special characters onchange()
I am using jQuery inline validation (https://github.com/posabsolute/jQuery-Validation-Engine) and it's awesome. I would like to have it validate after each character (onchange) for special characters. If one is typed, erase it, and pop up the validation message box. I haven't found anything searching. Has anyone already created this?
Need Suggestions - PhoneGap & Remote Data - iOS
Hello all, I am creating a native iPhone app with jQuery Mobile and PhoneGap, most of the pages are static and will rarely be updated. When they are will be done so in an app update. However some pages need to pull remote data from my website which uses wordpress. This data is a simple table of price comparisons of products (for now). Current setup: App connects to a particular page using JSON. Pulls HTML content (which is a table) from a custom_field called 'NativeContent'. Displays in the app
jQuery 1.8.2 | Get thumbnail, title, duration, vid ID from clicked youtube related video?
My app retrieves thumbnail, title and duration from searched videos or via preset links, but how do I go about in fetching the same info after import of a video provided in the related youtube videos that appear after a youtube video has ended? Basically, when a clicked related youtube video appears in Tubeplayer (which I use as player), how to get thumbnail, title, duration and vid ID of that video? Thx for pointers or sample code. - dan Edited: Added ID in title and question.
Add to Home Screen
When users add an icon to home screen for my app and run the app from that icon, then new changes that I make to the app are somehow not reflected. Running the app directly from Safari shows all new changes. Is this normal? If so, how can I force the "installed" app to reflect new changes?
How do I disable Android Back button on one page and change to exit button on every other page
Hello community, I am developing an Android application using Phonegap that interacts with my Drupal site. I have re-assigned the Android "Back" button to prompt the user to log off from the Drupal server however, I just want it disabled on the login page (for obvious reasons). I can get it to work but only until the user logs out then once on the login page the button remains re-assigned as a logoff button. Here's the code I have so far: <head> <script> /* Wait until device is ready
Position button (image with no next) inside header (background image)
Hi, the problem with button with image and no text is the size / shape of the button is a 9px circle regardless of the size of the image. I was able to make it work by overwriting sizes in ui-btn size, but it does not scale (i cannot define button with other sizes). Is there a better way than the following? <div data-role="header"> <h1></h1> <div style="position: absolute; top: 0px; margin-left: 540px;"> <a href="#two" data-role="button" data-transition="slide"
Event, when i scrolled 2/3 of page, not running
Hi all. I have next issue: I need run some event, when I scrolled 3/4 page. I do that: var limit_height = 3/4 * jQuery('body').height(); jQuery(window).scroll(function() { if (jQuery(window).scrollTop() > limit_height) { alert('You are scrolled 3/4 of page!'); } });So, when I look on console(I check current scrollTop), I have more times, when current scrollTop < 3/4 * body_height(so limit_height). Therefore event not run. Please help me, where I have error, if it's
Jquery multi page with django
Hi, Using django with jquery populating links like. <a href="#popupItem{{ item|key:'ITEMNUM' }}" data-transition="pop"> and populating pages using. <div data-role="page" id="popupItem{{ item|key:'ITEMNUM' }}"> I cant get this multi pages working for me. Everything seems to be fine, produced links is looking like. /sale/detail/02_O1_00000036#popupItem10 and appropriate pages are created. if I copy and paste the source html into a seperate html file, it works fine. But then, produced links differs
Show submenu permanently in superfish menu
Hi, I am using the nav-bar superfish menu on my website, and want to show my submenu permanently. Anybody have an idea on how to do this? Best, Slynge
l am trying load images with ajax into a div.
l am trying load images with ajax into a div with c# web method code behind. My div: <div id="ThumbNailNav" style="display: block; width:100%; height:100px; z-index:1; background- color:Red" title="Thumbnail Navigation" > <div id="thumbimg" style="width:80px; height:80px"> </div> </div> My ajax code: function PopulateThumbsEx(BookID, lastShown) { var tag = $("<div></div>"); $.ajax({ type: "POST", // AJAX type post
Multiple datepicker questions
I need to: Limit datepicker so dates in the future cannot be selected. Make it so I can get the value from datepicker and insert it into text. Make it so when I click the datepicker, it hides it and shows a second datepicker. Help!!! Please?!?!?!
document type missing ; before statement issue
Hi, All I have a problem how to fix any idea
JQUERY Validate image name extension
Dear All I really love this forum..... in an CMS I am uploading the images I Want to allow only .JPG files to be uploaded...... Example In case a person selects abcd.GIF to upload .... an alert message to be displayed as please upload only JPG
Ajax interactive map
Hello everyone, I'm new to this forum and new to jquery. So, I'm trying to create an interactive map. However, next to the map there's going to be a form (e.g. with checkboxes). Say, we have a map of europe and a form with options such as "has sea" or "has english as main language" and so on. When the user selects an option, a query is made to the database finding all the countries that fulfill the selected criteria. Then, these countries are highlighted and they are clickable while the other ones
Err "QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal instead"
Hi, In the file myTests.js I have the code below: test('assertions', function() { equals( 1, 1, 'one equals one'); }) when I run it I got the err "QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal " instead if I run : test('assertions', function() { ok( 1 == 1, 'one equals one'); }) everything are ok. what shell I do to fox this problem err ? Thanks
Jquery problem with a function with a post inside a submit form
Hello I have this code, the problem is this, when click submit button, execute submit function, when arrives to validateEmail enters in the function, and before get $.post result , the function return true. I stop the process with return false in the form submit, and with alert command I check that this is the process: First enters in validateEmail, the return true and finally $.post return result (this works right). I do not understand why when enters in function validateEmail, first go to $.post
jquerymobile generic photopopup
Hi I'm new at javascript. I have many images on my mobile page and would like to adapt the following jquerymobile code to allow it to be used without hardcoding the image path in the data-role="popup" div. Here are the two parts to the code. The first section is used to display a thumbnail that when touched displays a lightbox with a higher res picture: <a href="#popupPhoto" data-rel="popup" data-position-to="window" data-inline="true" data-transition="fade" ><img class="v100col" alt="equinox"
selecting an image in a class
Ok, I'm once again being stupid. So I need a little help. If I have: <fieldset> <legend>Payment Method</legend> <article name="paymentType" class="paymentType selected" value="<natsPay1>"> <img src="img/light_bulb_on.png" /> <p class="mpOption pull-left">Credit Card</p> </article> <article name="paymentType" class="paymentType" value="<natsPay2>"> <img src="img/light_bulb_off.png" /> <p class="mpOption pull-left">Euro Debit Card</p>
pdf
I'm posting a link to a pdf file but when I click it then it comes up as a webpage that says 'undefined'.
Google map with multiple directions
Hi Allhow can i get Google map with multiple directions: like i will first search for chicago then India then Pakistan so, now my map should fetch me the directions 1) from Chicago to India 2) from Chicago to Pakistan Hope you all have the understanding, Thanks For your help
Jquery validation in button click
Hi, In my aspx page has 3 buttons i need if i click the OK button then the page should be validate I am working on VisualStudio 2008. I am using these scripts <script src="Scripts/jquery-1.3.2.js" type="text/javascript"></script> <script src="Scripts/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script> <script src="Scripts/jquery.validate.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("#aspnetForm").validate({ errorClass: "error", rules:
Next Page