Autosuggestion box retains its suggestion values
when we type some suggestion values in autocomplete box it's gives suggestion then if we F5 the mozilla browser it retains value in box but same case not happen in chrome when F5 in chrome placeholder values comes again. Can anybody help the solution of this problem.
Rewind (!) back - not just $.mobile.changePage
History of my pages / activities is: Home page (page0). List of issues (page1). Detail card of issue (page2). Popup for confirmation to delete issue (not a page because of JQM popup isn't a page).When I confirm deletion of issue and delete it, there is no reason to return back to page2 (it's content dropped). The only valid transition here - from popup to list of issues (back twice). BUT. When I jump from popup to page1 by $.mobile.changePage, history saves page2 as previous page. So, when I press
Cannot enter a space into an input field.
The situation:There is a Dialog with tabs inside. There is an input field in one of the tabs. That input field has a tooltip attached to it. The problem: When clicking on the input field, the tab itself gains focus. The user is able to type in the input field, but any keys that the tab uses (space, left/right arrows) apply to the tab instead of the input field. This results in the user not being able to enter a space in an input field or navigate the characters in the field using the left/right
Facebook login popup in JQUERY Mobile
Facebook login authentication using html and jquery mobile, When i am click facebook button in the jquerymobile page the facebook login page will display in the same window POPUP How to create this in using Jquerymobile.
Grid of Buttons
I'm trying to use a 2 column 3 row grid to create a home page. The standard grid blocks dont behave like buttons and changing the elements to buttons looks really ugly. Does anyone know how I can make the grid blocks animate like a button?
dropdownlist issue
$(document).ready(function () { $("#" + btnCancel).click(function () { var o ="--Select--"; // For Example $("#" + ddlEntityName + " option:contains('" + o + "')").attr('selected', 'selected'); return false; }); }); but not working in mozilla
jquery loop
I want to loop here i have 60 div with ID s #draggable1, draggable2, draggable3 : if ($('#justgarph > p:contains("draggable1")').length > 0) { $("#draggable1").addClass('current') $(".product:not(.current)").animate({ "top": "0", "left": "0" }, 500).delay(100); $("#draggable1").animate({ "top": "-300px", "left": "200px" }, 500); setTimeout(function() { $("#draggable1").animate({ "top": "-106px",
Browser issue
$("#" + DDL + " option:contains(" + Option + ")").attr('selected', 'selected'); where DDL is id of dropdownlist and Option is Text to be selected.. it working fine in IE, But in mozilla not working
Disabling keyboard input for Spinner
Hello all, Am new to jquery and was wondering if someone could help or point me in the right direction. I'm working on creating a tool using a series of spinner inputs. I only want these to be editable by clicking or touch and want to disable keyboard input use. I've read that previously the editable property could be set to false on intialisation of a spinner and this would do the trick. On the latest UI i believe this is no longer an option or method and i can't find one that will achieve this.
In Android 4.1.2 go to index.html when I change the orientation of the device
Hi all. I'm developing a apk with JQM and I have a problem with I play the app in Android 4.1.2 (but it works perfect in Android 3.2.7). I'm simple (and stupid). Open the app, and you see index.html, click in a link and go to example.html. BUT if you change the orientation of the device it will go to index.html Thank you
moving Object animated over screen WHILE scrolling
Hi I have a small problem with an animation. I created a very high page (1200x15000px) on which the user has to scroll up and down (future & past displayed) because the user "travels" through time, I have a UFO (or similar) which guides the user. while scrolling DOWN, the object is on the TOP of the page when changing scrolling DIRECTION, the object should move to BOTTOM of the page. this is not a big thing, but animating the css-top-position is a problem while scrolling. i set up a reduced page
My Ajax is failing but Postman works?
I am sending a post request to a JSON api. If I test the remote script using PostMan (the Chrome extension), the results are perfect. However, when I try to manually post to the script using the following code: $('#whateverPage').on( 'pagebeforeshow',function(event){ var myApi = 'http://api.domain.com/make'; $.post(myApi, { fname: "Kurt", lname: "Vonnegut", password: "kilgoretrout", email: "foma@grandfaloon.com" }, function(result){ $("#resultDisplay").html('<p><br><strong>Result: </strong>'
Datepicker date range format
Hi Guys, I'm struggling with changing the date-range format from: mm-dd-yyyy to yyyy-mm-dd in the following variable script. The code works fine as it is below but the moment I try and change the format of the date to what I need (yyy-mm-dd) it breaks and doesn't work. Has anyone got any idea where I'm going wrong? Many thanks // Enable a range of dates var disabledDaysRange = [["4-4-2013 to 4-6-2013", "4-14-2013 to 4-18-2013", "5-2-2013 to 5-22-2013"], '5-29-2013']; function disableRangeOfDays(d)
jQuery UI Accordion "jumping" on load ?
Hopefully someone here could help me with this, though it may not be a jQuery problem but instead a CSS problem. I just finished a portfolio website for one of my college graphic design courses, and I'm using the accordion from jQuery UI for part of my navigation. Click here to see the website. When you click on "work," you can see the accordion functioning, but as soon as is it loads it "jumps" into place instead of unfolding smoothly as it should. Does anyone know what might be the cause? The jQuery
Drag and Drop Events(when dropped, and when dragged out)
Hi, I am using jquery UI for drag and drop. My requirement is: I have 6 to 7 droppable areas in a page. When I dropped an element in a droppable area I need to change the css of that particular droppable area. When I drag out the element I put back the old css. Please suggest. Regards, Thanks.
Datepicker not showing current value when edit cakephp form
Hi, I am using datepicker with cakephp 2.3. Datepicker popup is ok. When I submit a form then if any form validation error found it back to current form. All other fields value are persistent but does not show only date field value. Even when I want to edit a any record, it does not show date field value. I checked many ways and I am sure that it is not cakephp problem. Any one can help me? Thank you Hanif
JQuery Automatic Scrolling --> Need help
Hello, My name is Marcel and I need your help. My code automatic creating a list by all <h1> tags in my html file. Now i want to scroll to my <h1> tags when im clicking the specific element in my list. But i dont know how to do this. Maybe you guys have a hint for me how to do this or maybe can create me the code so i can look at it and realize how this is working? Thx! $(document).ready(function(){ $('h1').each(function( index ) { console.log( index + ": " + $(this).text() ); $(".Sammlung > ul").append("<li>"
jQueryUI API
Is it just me or does jQueryUI's API seem generally strange to anyone else? For example, in order to close a dialog I can't call a .close() method; instead I have to call .dialog("close") instead? Also, I can't hide the close button from the API, I have to hide it with a CSS style? But enough picking on Dialog, the Selectable widget/interaction also seems missing basic features like the ability to only allow one selected item at a time. There is a forum post about this issue but it appears like
Jquery ui accordion sortable cookie persistance
Hey guys is there any way I can get jquery to remember how my users change the order of the accordion when it is sortable? I mean it is easy to make the accordion sortable but what is it good for unless you can get it to remember how the user sorted it. I really need help with this one. Do I use cookies or database? please respond with code snippets to help me out. I am not to good with jquery so please go easy on me If this is an easy question. Thanks in advance, Mooror
Update cells in table
Hi, Here is my code: http://jsfiddle.net/wLm2A/ The problem is when you click on Edit the whole table messes up, displaying multiple texfields and dropdowns. I'm trying to get it to display one textfield with the cell's content within in for the Email column and a dropdown with the cell's content in it for the Presenter and Engineer column. I know i'm nearly there just can't see how to do this. Thanks.
how to send jquery values to PHP
Hi, i have found a slider, it have a method to fire the changed values: $("#slider").bind("valuesChanged", function(e, data){ console.log("Values just changed. min: " + data.values.min + " max: " + data.values.max); }); But how can i use it in my PHP script? The slider works, but i need the values in my PHP script. best regards Torsten
Disable Form submition
Dear, i am adding a table row with text field using $('#table tr:last').before(""); When in press the enter key automatically form is submitted. How can i prevent the form submission when pressing enter key. I have used the code, $("form :input").on("keypress", function(e) { return e.keyCode != 13; }); it works when the table row is not added using $('#table tr:last').before(""); please help me.
View inserted html elements content inside a div, smaller
Hi there. It's great that I can even ask questions like these, on a forum like this and I would like to say thank you. Within the html page: making a preview in a div box, of html pages elsewhere in the site. How do I size the content of the injected html elements, to be proportionately smaller, and fit inside the box to view. This is for a financial transaction site. So typically end users want to preview statements in tables and image graphs before they generate the final pdf. I know that as a
[solved] string appearing as a word, its length wrongly shows as 1
here's how the string comes to existence: presidentsname = ((lista[number]).split("|")).slice(0,1); document.diagnostic.window1.value=presidentsname+" " + presidentsname.length; with Hollande the name shows properly, but the length turns out to be 1 how to modify presidentsname.length in order to obtain 8? or must the error be elsewhere?
Jquery if date run function
Hey guys I ran into a bit of a snag. I have written a Jquery code to overlay my page for the CISPA blackout(Yes I am one of those people lol). My issue is I can't find any answer on Google as to how to activate the script on a given date. I do not want my site blacked out every day but rather if Jquery detects todays date is 4/22/2013 then the script runs, if not then it does nothing. How do I achieve this?
Remove Caching of JQuery Script
Hi Guys, I'm having a problem about my jquery script on my web application...everytime I update my script, it seems that the browsers only loads the previous script thats why it doesn't function well. My Question is, how can I remove the caching of JQuery Script on a certain page so that it will be always updated?
Getting response from different server instances using jQuery and Ajax.
I need to use .post() method to pass the request to servlet which will exist in different server instances, eg. dev, test and production. If I just have the client .js file in one server instance -- dev, how can I pass the request to the servlet in other instances and get the response back?
Template Grid JQuery Mobile
Hello, I research an example of a grid(with lines and columns) with borders, colors, background-colors to have a beautiful grid to print on a mobile phone. Do you have any ideas ?
sort-ception. dynamic sortables (within sortables) - cant get it to work right
Hi Im working on a fairly basic text editor webapp with the idea that you can break the text into organizable bits. www.laserpanda.com/laserowl2/editor.html there are two basic bricks in this system: flerps (contains text) and flerp-flerps (a container that can contain flerps or other flerp-flerps). im using sortable to rearrange the pieces as i wish, but it is causing me some headache: 1. load page 2. create a second flerp-flerp 3. see how you can drag and drop the second flerp-flerp into the first
Any ideas: How to assign the same input value to similar input ids?
Looking for ideas on how to accomplish this. We have a list of 10 character part numbers that are grouped like this: EDDRTTFF12 EDDRTTFF13 EDDRTTFF14 EDDRTTFF15 EDDRTTFF16 ADDRTTFF12 ADDRTTFF13 ADDRTTFF14 ADDRTTFF15 ADDRTTFF16 In the list we are asking for the user to set the price of these groups. The field name is generated on the fly by the partnumber. <input type="text" name="price_ADDRTTFF14" id="priceid_ADDRTTFF14" value=""> There are about 120 groups like this and 2000+ partnumbers. The
Autocomplete (jqueryui) working only in Chrome
Hi - I'm quite new to both js and jQuery, but so far I've been excited by how easy it is to accomplish difficult tasks. However it's full stop now. I have an autocomplete function that works excellent in Chrome. I have to make it work in IE9 as well, and I can't figure out what is wrong. A request like: http://nrkdt58617/sn/api/suggestions/Makhatsj from the autocomplete function will return json. I'm enclosing both my code and a sample json response. In advance, thanks a lot for any help,
TextArea validation
I have a requirment in Jquery for textarea. I am new to jquery. There is a text area and max allowed length is 250. But it should have 50 characters allowed in each line and there should be 5 rows only. If a particular word in each line does not fit in that line it can wrap move to the next line so that it is not strict rule that 50 characters(including space) should come in each line. but after the 5th line though we dont use all the 250 characters( we can space to enter characters) it should not
jQuery Validate not working in IE8 and Safari
jQuery Validate works great in Firefox and Chrome, validating both client-side and sending the POST to php email function. But in IE8 and Safari it skips directly to server-side validation so that the user has to use the Back button to fill in required fields. Here is my code: <script type="text/JavaScript"> $(document).ready(function() { $("form1").validate( { rules: { name: { required: true }, email: { required: true } } )}; }); </script>And here is the HTML: <form class="cmxform" action="" method="post"
autocomplete times out in 5 minutes
the website is using a jquery autocomplete and when you type in after 5 minutes in the customer's network you get a login screen. then it triggers and error in the fetch javascript. If most people call the website, it does not time out for 30 minutes. In the web.config I have the time out for 30 minutes. I have a customer using a computer inside their company, if they dont do anything on the website for 5 minutes and then try to key in in the autocomplete, I get a system login screen and then
Showing SqlDataSource field on page when clicking on an item of RadioButtonList1
Hello, I've used a RadioButtonList1 in my Page which is bound to 2 fields of a SqlDataSource. RadioButtonList1is bound to fileds ProductID and ProdcutName for Value and Display properties respectively. The question is that I just want to display the 'Price' field value on the page based on the corresponding ProductID when user clicks on an item. Thanks a lot. Tooraj Azizi.
Looking for help making a jQuery dynamic table
I am very new to jQuery and am looking for help creating a dynamic table. If you think you can help that would be great. What I need is a dynamic table and the highlighting of the table as the bottom text box is used to select an integer position. Integer row must start at 0 when showing position. Any help is great appreciated as I am so lost and have been googling and reading for hours to figure this out!
Play media files in protected htaccess folder
Hi all, My jquery mobile page is running well. The page itself is with an htaccess protected folder. I have links to mp3 files which are within this folder. They won't play on mobile phones (they do however on a desktop PC). If I link to an mp3 file located in an unprotected folder, it works (with both, direct linking and jplayer). So: - Using the jquery mobile site on a desktop PC, mp3 files within or outside htaccess directory can be played - Using the jquery mobile site on a smartphone, mp3 files
Keep formatting on dynamically fixed <thead>
Hi guys! I've got following problem: I am dynamically fixing the current thead to the top (or rather adding and removing it from the DOM). Here's the code: function fixedThead(elem){ $(elem).each(function(){ var el = elem, theight = $(el).parent().outerHeight(), twidth = $(el).parent().outerWidth(), offset = $(el).offset(), toph = $(".navbar").outerHeight(); clone = $(el).clone().addClass("headerFixed").css({ width: twidth }); $(window).scroll(function(){
Having problem on tabbed menu plugin with images and not clock working together
I'm having a problem getting the tab widget to work the way I need it to. It works fine as long as all I have is text, clock and box fade out, in and move but when I add a looping 3 image display, strange things happen. First, the images are on all the tab pages, not just the one <div> I put them in and the images and the clock doesn't work together at all. I use the widget as the navigation of my site and each page has certain functions that need to happen. I added a tab, so there's 4 tabs. First
Icon not positioning correctly
Icons not positioned correctly in visual windows. there was a question about this for android 2.2 but i am on ios 6.1. any idea why these are out of alignment?
Next Page