How can i toggle Table row color?
Hi, I added new rows to a table using $('#wo-new-tbl-works tr:last').after(); method. How can i toggle the row color when mouse hover?
Popup within a popup
Really excited about the new popup widget that is in the 1.2.0 alpha. According to the current documentation its my understanding you can not do a popup within a popup. In the release or in future versions will you guys be supporting this capability in our current UX we definitely have a need for it and currently have been coming up with work arounds. Thanks in advance -Will
using get to return table
I am using a get method, and then returning a table of records. on my php page where I am getting the data, i try to echo content, but nothing gets echoed out. so my question is, is it possible to have the php file, that is called upon, to echo content instead of returning a value?
Social Sharing
Can anyone recommend a plugin for social sharing, minimum - Google+ - Twitter - LinkedIn - Facebook?
Jquery ajax and opera 12
My jquery ajax functions stop working in new Opera 12. I don't know why ? The code below always run error handler. It's the same domain request. It's really strange because i can't find anything in google about this problem. What's going on ? It's really major problem. It's opera problem or Jquery ? If it's opera problem, is there any workaround ? I can change code, but i can't change users' browsers. $.ajax({ url: '/ajax.php', success: function(data){ alert('success');
how can i create a div that always extend to bottom of the page
hi. i need a jquery code to extend my div till bottom of the page, somthing like google map. i set the height of my parent div "auto", and now i need a code to extend my child div to 100%. can U help me?
how to make website faster using jquery
HI I try to store maximum data in variable and site go faster. but this is not SEO friendly can any one help me how to make site faster using jquery Thanks Anupam
JQuery Switch Img Src with fade effect
Basically I have a stretched resizable background image, I want to switch it's src by clicking on a small icon or text link. I would like this transition to fade also. So when the link is clicked on, the image src fades into the new one. Any suggestions?
needing to reveal multiple things when image hovered on . how to do this?
Brand new to JQUERY and I need to figure out how to get 3 seperate things to reveal on hover with a slideshow / carousel. I need to have it pause the transition,reveal previous and next buttons, as well as reveal a caption. PLEASE HELP ME!! I have been trying to find an appropriate plugin and how to configure this for about 2 weeks now but as I am brand new to jquery, this is just getting me more confused. thank you for your help. Jeff
Using class selector to change val text to rel text
Hi, I'm trying to change the value - val() of an input element to be the same as its rel attribute text - and I'm using a class selector. I thought I might be able to do something like this: jQuery(".myClass").val(jQuery(this).attr("rel")); but I can't :(( So for each element that has the class myClass, the val() should = the rel My code, as I have it set up at the moment, kind of means I have to use a class selector, as above. Any help or suggestions much appreciated.
Including viewport meta tag shows only White screen
Hi, My JQM Android Application (Jqm : 1.2 aplha) shows only white screen. No contents are visible. A tap/click on the screen will display the content. Application works fine on the pc browser and android browser only the android build behaves weirdly. The following congifurations fails (Meta tag included) Device : HTC Sensation XL Android ICS JQM : 1.1.1 or 1.2Alpha Works fine in (NO Meta tag included) Device : HTC Sensation XL Android ICS JQM : 1.1.1 or 1.2Alpha Works fine (irrespective
Help me with this issue when learning ajax : HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy
I am new to Jquery and Ajax also. when i try the example of one tutorial on the internet I got this issue. Description: I use ajax to get data from the php script and display result to html page by .html(result) Code: index.html $(document).ready(function() { $.ajax({ url : 'get.php', type : 'get', data : 'name=nhan', async : true, success : function(result) { $("body").html(result); } })get.php $name = $_GET['name']; echo $name;But the code above get error : I copy from firebug: HierarchyRequestError:
adding p to li
hello , i expect from the below code to add paragraph to each li element and then add "hi" to each paragraph inside the li element , but the code will also change the original paragraphs content to "hi" and it will works as i expect if i add index with any number to p element like this $('li').add('p[0]').html('hi'); <html> <body> <script type="text/javascript" src="jquery-1.8.0.min.js"></script> <script type="text/javascript"> $(document).ready(function(e) { $('li').add('p').html('hi');
Browser switch for jQuery Mobile
Hi everybody I'm quite new to jQuery and jQuery Mobile and am about to develop my first webapp. One question is circling around in my head since a few days: What kind of browser and/or device detection is implemented in jQuery Mobile and/or is usually used? In the jqmgallery I often saw links in the footer pointing to "Full Site". That's an important move I think. How is the device detection bypassed with such a link? (If it works that way.) What do you think of using services like http://www.handsetdetection.com/
animation menu
http://jsfiddle.net/rajkumart08/p5VQS/1/ how to transfer this menu into semi circular menu... pls help.... i am giving u the screens hot too... https://docs.google.com/open?id=0B3IBJKENGE7RQjZVNXhoN0NtNUE
Using jQuery or $ or any other variable
Hi All, I have a bit of confusion about using jQuery or $ or any other variable for replacement.
Issue with special characters in jstree
We have a JSTREE which work well with xml data. But when the data contains special characters, the tree is not working with IE $("#treeId").jstree({ "xml_data": { "ajax": { "url": "/getTree", "type": "post", "data": function (node) { var data = {}; data.selectedNodeId = ""; data.expandAll = "true"; if(node == -1) {} else { data.selectedNodeId = node.attr("id"); } return data; }, "success": function (data) { return data; } }, "xsl": "nest" }, "plugins": ["themes", "xml_data"] }); The xml that we have
eliminating annoying flicker transitions with jquery mobile on android
Hello friends I am facing problem in my application when I do it this flicker the effect of transition from one page to another. example: <li data-theme="d"> <a href="abount.html" id="SB" data-transition="fade"> About </ a> </ li> Also already used the feature css. Ui-page {-webkit-backface-visibility: hidden;} yet the problem persists, is there any solution for this? https://docs.google.com/open?id=0B7SDZWpaeaVxamlFQXFPVlRjbk0 thank you
Seeking greater efficiency:
Hello: I've a problem with jQuery.grep and finding a more efficient way of processing array(s). Details of the situation follow: Sometime ago I created an address book, in which users can manage their business contacts and email addresses. The following capabilities exist with this address book table (dynamically populated). $("#select_all").click(function() {: Select All button (checks the checkbox for every address book contact) $('.Record_Chk').click(function() {: Depending on whether user checks
pass custom header on request
we need to be able to pass custom request headers and set a proxy when posting and changing the window location in an ajax post. Example: current url: www.domain.com/home new window: www.newdomain.com code (psuedo code) $.ajax({ url: 'http://www.newdomain.com', proxy: 'www.proxy.com:8080', enctype: 'multipart/form-data', data: '', cache: false, complete: function (){ window.location('http://www.newdomain.com'), }, beforeSend: addHeaders
JQM 1.2 $.mobile.defaultPageTransition has no effect
I'm trying to change the default page transition from this strange fade in jqm 1.2 to slide or slidefade, but for no avail. I've tried setting in both ways: $.mobile.defaultPageTransition = 'slide' and $.extend($.mobile, { defaultPageTransition: 'slide' }); both failed. any ideas?
Jquery Cycle Plugin - PNGs in slideshow produce a white background in IE8 rather than a transparency
I downloaded the Jquery Cycle Plugin from http://jquery.malsup.com/cycle/ For this site I was working on http://jck82.homeip.net/nyfc/ The idea was to create a slideshow in the header using transparent pngs, it works well in every browser except for IE8 (of course). I tested the images in IE8 seperate from the cycle plugin found at http://jck82.homeip.net/nyfc/test.html And the transparency works fine in IE8, so something is happening with the plugin and IE8 that creates this white background on
Proxy Page Processing Of Another Web Page Questions
I have an existing page on a website which I'm trying to hit from a proxy page using JQuery requests. The target page produces a list of data link results which are retrieved using two filter/select boxes. Sometimes the resulting list is a page (20 items) or less and sometimes it is multiple pages in length, which results in some paging links also being generated on the original target page. Currently my proxy page pulls in the data results just fine, as well as the original paging links with my
Drag And Drop List item into Another Listview
i am using jquery.ui.touch-punch plugin and applying the drragable function on very list items <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Touch Punch - Mobile Device Touch Event Support for jQuery UI</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <link href="js/jquery-ui.css" rel="stylesheet"> <link rel="stylesheet" href="css/jquery.mobile.structure-1.1.0.css"/>
Reusing Plugin Init Options in further methods (Basic issue)
Hello! I'm new to jQuery plugins, I've edited multiples but I'd like to make my own using the cleanest and most standard structure. Is there a way to reuse the options used after the plugin initialization?(Like an instance of a class?) I put my failing attempts to reach the value in the code.(See orange part) Here's my (basic) plugin code: (function( $ ){ var methods = { init : function( options ) { var settings = $.extend( { 'location' : 'top' }, options);
Dynamically update button labels in a controlgroup
I am trying to dynamically update the labels of two buttons in a controlgroup. The way I am doing it is updating the labels, but the controlgroup is not formed, rather two buttons appear separately side-by-side. Can anyone point me how this can be achieved? Here is the relevant code: // Set the button texts. $("#day-slot").empty(); var markUp = "<a href='#' data-role='button' data-theme='e' onclick='popMenu(true)'>" + days[1] + "</a>" + "<a href='#' data-role='button' data-theme='e'
Superfish not working properly in android
We are currently using superfish for a development project. I'm having problems getting the navigation to work properly on both android browser and android's chrome. It is exactly what I want (click instead of hover) on iPad and iPhone. On the android devices I tested, when you click the nav it takes you to the page that is in the anchor tag for that element instead of dropping down the menu. Is superfish still maintained at all? There seems to be some mixed ideas around whether or not it
Need help with the Jquery size attribute...?
Hello, I have a Jquery code which is used to add multiple files dynamically as per the user requirement. But in my window(site page) the width is too less where browse button (input type="file" ) going out of the frame. so please help me in resolving this issue...Please look into below code for the details: In the below TD tag I can restrict the width of the default file type size, but when on run time for the 2nd file upload the width getting increased. so plz...do the helpfull.....thanks in advance..
Change / translate "back" in header button
Hi there, I am just getting started with this fantastic tool and am stuck. Got this stupid problem ; scanned the forum but didn't find a solution. - I need to change / translate the word "back" in French when shifting page and cannot find where to access it. Thanks for your help Best Christophe
select menu no open
Hi I want show a select menu , this work the first time that I open, but when I want open again, it doesn't open this is my code: <form action="#" method="get"> <div id='divEspecialidad'> <label for='especialidad' class='select'>Especialidad:</label> <select name="especialidad" id="especialidad" data-mini="true" > <option value="">Todos</option> </select> </div>
jQuery vs Zepto vs jQMobi - which one is the fastest? (not jQuery)
Today I stumbled upon this test: http://www.codefessions.com/2012/08/performance-of-jquery-compatible-mobile.html It appears that jQMobi is much faster than jQuery mobile :(. I also tried their website on my good ol' Galaxy S, and yes, indeed it is lightning fast! Will performance be the focus of the jQuery mobile team?
Creating page clientside
If, for example, I click/touch on a listview jQM internally makes an AJAX-call to the server. It is expected that the server returns HTML with jQM-attributes. This is a little strange as jQuery was invented to do things clientside. In my opinion jQM makes it far too complicated to do the things the way you are used to when using jQuery. I tried to do it all on my own using changePage until I found out that a button may call a JavaScript-function but jQM crashes when you try that on a list-view. The
JQuery Mobile Button Style
Hi Guys, I am new in Jquery Mobile . I have using PhoneGap Simulator(Html5+jquerymobile+javascript+css). I want to add a button which is look like in below. So Please help me how can i get that kind of button on my mobile application. -Kamalakannan.M
List View not Refreshing after button Click event
Hi guys, In my Jquerymobile PhoneGap application, I have a list with favourt button. when i click the button it will change the button theme to "e", then again i will Click the same button then i need to get back the button theme to old one("c"). but i did n't get back to the button theme "c". I tried .listview("refresh") but it not working -Kamalakannan.M
Returning TRUE/FALSE from $.post call
Hi, Due to its asynchronous nature, the $.post(...) response comes later, hence I'm unable to return true/false based on Response value. function updateValue(loadURL, inputValue, recordID, messageDiv) { $(messageDiv).slideUp(); var ajax_load = "<img src='images/load.gif' alt='loading...' />"; $(messageDiv).html(ajax_load); var truefalse = ""; $.post( loadURL, {type: "update", id: recordID, val: inputValue}, function(responseText){ if (responseText.indexOf('exists') > -1) { $(messageDiv).html("<div
Uncaught TypeError: Object #<Object> has no method 'flexslider'
Hi guys, Got a drupal 6 install and I installed the flexslider for a image carosel on my main page. I had it all working before so I know everything is loading, I'm guessing I have another version of jQuery being pulled in, though it did work before! I just can't remember what I did before it stopped working! I'm also running this script to bring in jquery 1.7.1 because I need it for some twitter bootstrap javascript. Code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
Conditionally jump to a certain page(id) on a single document - how?
Hi there, I'm working on my first Jquery Mobile app (later to be compiled using Phonegap). I have a single HTML document with a number of individual pages on it, all with a data-role of page and an id. At present when I load my document into Firefox the top most page shows, as you would expect. However is there a way to have a conditional statement that can display other pages apart from the first page. I have the old problem of wanting to skip the first page once the user has interacted with it
jquery fadein for all images, not sure using best implementation of code
Hello. On a custom Wordpress theme I've written, I'm using fadein on all images. It seems to work, but I'm not sure I'm using the best code, and sometimes jitters on load. I'd appreciate if you could give it once over. The production site is here header <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> footer <script type="text/javascript"> $('img').hide().fadeIn(1000); </script> many thanks for your time, really enjoying learning jquery
Event when I swipe outside text in contenteditable
Hi, I would like to intercept the event when I swipe (drop) text that comes from outside the browser (eg: from text file). This event is not "paste". Is this possible? Do you know this event? TIA
Preventing duplicate transactions in div.
Hi How can I loop thru the #log and prevent duplicates. Can someone please help? $("document").ready(function() { //Update Log div with selected items function log( message ) { $( "<div/>" ).text( message ).appendTo( "#log" ); $( "#log" ).scrollTop( 0 ); } //Read searchphp and pupulate Search Autocomplete $( "#search" ).autocomplete( {
Next Page