Problem With Dynamic UL List
I've posted this question here and before but seem to get no real reply. The problem entails creating ul list dynamically but constantly getting a JQuery undefined error. More info here: http://stackoverflow.com/questions/12135001/jquery-mobile-ul-list-still-not-working-fro-dynamic-list#comment16232368_12135001 Can anyone help me with this problem or know a workaround?
else if blocks
I'm trying to create an autocompleter and I want to create an else if statements. here is my logic. Bind a "keyup" event to the input (and receive the "event object" as e). In the event: This event fires every time the user presses a key in the input. Capture the value of the input to a variable using .val() If the length of the value is less than 2 characters: Hide the results DIV (using a fadeOut animation) Exit the event by using return false. The key pressed is stored in e.which(Up = 38, Down
How to disable animations of elements?
I'm curious about how to disable animations at all. I found many answers to the question how to disable page-transitions. But what I'm looking for is the animation of the elements in a page itself. My problem is that "Flip toggle switch" is stagnant on Samsung Galaxy Tab 2 10.1. Now I would simply disable the animation hoping it will then be as fast as toggling a radio-button. How you do that?
Close divs with animation when click on another
I have multiple divs that I want to open an close on click. I can get them to open easily and close with a different call, however I want to automatically close any open divs when I click on a new one (so that only one is open at any one time) I am using the html: <div class="alphabet"></div> and the jquery: $(document).ready(function() { $(".alphabet").click(function() { $(this).animate({width: "13%",height: "500px"}, 1000); }); }); can anyone advise on this please?
Response Message
how do i output a “no response” message if my ajax responds with zero?
video streaming on iPhone, playing clips then stop
http://video.webdufour.com/optimal with HTML5 video player ( fallback to Flash) using video.js streaming for iPhone from a private Wowza server Playing fine in all browsers Playing fine in Safari w user agent iPhone ! On iPhone device ( handset or simulator) it's playing fine once : the sequence is Ok, then switching to the Playlist I can play once each clip, then it's over , cannot play clips anymore ... is it something related to iPhone handset cache or Safari cache ? running the iOS simulator
creating a simple countdown
Hi, I am trying to create a simple countdown. But I need somehow an interval. So every second I want to say for example, 30 (seconds) -1 and so on. But how do I get an interval. Hope someone can give me a hint. Thanks in advance.
chrome animation bug
Goodmorning all, i am having a bad issue in chrome. Firefox is ok. Please check the simple animation. http://jsfiddle.net/V49zh/ I see this in chrome and some my friends see that in chrome too http://imageshack.us/photo/my-images/708/chromebug.jpg/ Any idea how to fix it ? thank you
pagination and treeview
Hello, I have a problem with jquery plugin: Treeview I tried to use django pagination but it doesn't work How to paginate with Treeview ??
why is this not working??
I write a code in local js file. not web js file. in jquery Version 1.3 run ok ,but now in Version 1.7 or 1.6... not runing. why? bug? for example code: $.ajax({ url: 'http://bugs.jquery.com', success: function(msg){ alert(msg); } });
an included basicmap will only show on browser refresh!
I have create a mobile page for our education package (www.bildungspaket-nf.de) and I have a problem to show a mapaera with GoogleMap! When I open once side in my application, the map will not display and there is only a blank area ... until the Reload (F5), then the map will show! Example: http://m.bildungspaket-nf.de/angebotsgruppen.cfm?Thema=Boxen&KatalogID=62 and then klick to the link ...TSV Rotwei... When I insert the coplete URL http://m.bildungspaket-nf.de/angebotdetail.cfm?AngebotID=323
Fixing Scroll Position in Gridview While Postback
I am using Edit Option in Grid row.While Editing last row in grid Sroll Position is moving 1st row While Postback and also using Fixed header jquery in gridview. Scroll Position must be in that Edit Row..... Its Very Urgent....
Jquery Mobile and CMS
Dear Forum, It is amazing to be able to develop fast and easy with jquery mobile. I am just asking me: If I make a mobile app for a customer, so how can I give him a confortable way to edit his app like contents, pics, etc..? Is there a cms for jquery mobile to make it easy for a customer? What would you suggest or what is available? Thank you!
How to remove header script?
Hi, I'm currently using zoomooz of janne.aukia.com/zoomooz/. However, I need to remove this line in the header <script type="text/javascript" src="js/jquery.zoomooz.min.js"></script> when viewport is less than 700px, and put it back if viewport is greater than 701px. How do I go about this? Thanks.
Refresh dynamic selectmenu
Desired behaviour: Enter a number on a page, click the next button, the next page is displayed with a dynamically generated selectmenu displaying options 1 - x (previously selected number). Current setup: The select menu is entered as html code: <div data-role="fieldcontain" id="container"> <label for="selectmenu" class="select">Options:</label> <select name="selectmenu" data-native-menu="false" multiple="true" id="selectmenu"> </select>It is then dynamically populated in js:
Problem with hover function
My problem can be viewed here: http://www.ohauge.net/work/eiriktvilde/index.php?p=gallery When I hover my mouse away from the project image (over the title), things get buggy. I know why it happens, I just don't know how to fix it. here is the code I am using for this part: /** * Display the project title when * mouse is hovered over corresponding * gallery image. (useless, but cool) */ function displayTitle() { var img = $('img.gallery-img'); img.hover(function()
Disable jqtouch
Hi, I'm using jqtouch but my problem is it's loaded even in widescreen. How do we disable it dynamically? Just load it if viewport is about 400 width.. Thanks..
Ajax not working
can someone help me get my ajax to run properly, i am trying to create and auto completer and the ajax wont run so I ma stuck on this part. http://jsfiddle.net/TMfex/3/ I know my code is not right but where? how can I fix it. I want to get it to run so that I can check the length of the ajax response to see If its zero so I can create a "no results" message inside the existing UL in the results DIV. What am I doing wrong?
Any recommended books / Video Tutorials
Hi, Any recommended books / Video Tutorials relating to JQuery, Ajax, JSON, Data handling to and from a MYSQL using PHP, Thanks
Create few Flip toggle switch with javascript
Hi, I want to creat some flip toggle switches with a javascript function to insert them in rows. When i pressed create button, its create everything but instead of flip toggle switch, a dropdownlist. How can I create flip toggles?? Thanks!! PD: It is a while function like this: function createTable() { var lista= new Array(); lista[0]= new Array('aaa','aaa', 'aaa','a'); lista[1]= new Array('bbb','bbb', 'bbb','bbb');
Problem with jQuery load, causes stack overflow...
Hi, In my web site I've used jquery's Load method like below to load some pages: $('#Message').Load('File1.htm'); For some pages it loads but for some other pages it doesn't, and when refreshing page IE causes 'Stack overflow at line 6'! Help plz!
Jquery tablesorter how to store previous sort list
Hi i am using jquery tablesorter plagin. I want to store the previous sort list when a user close or make a refresh to the page. And after refresh or reload the page, the table will use the previously stored sort order. I try in many ways. Here is one of those: $.tablesorter.addWidget({ // give the widget an id id: "sortPersist", // format is called when the on init and when a // sorting has finished format: function(table) { // Cookie info
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?
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
Next Page