How to make "val()" work in html form?
I have an online order form which works great! the only thing thats wrong is that i cant seem to find a way to send the input data from the text fields with Naam:, Adres: etc. (which is at the bottom of the code) i found out that i could use this code : $("#txt_name").val(); but it does not work properly. And i don't really know in which function i have to pace de code. Can someone help me? i'm not very experienced with jquery. <html> <head> <script src="http://code.jquery.com/jquery-1.11.1.js"></script>
language plugins
Hello Forum, I develop a mobile website with jqm 1.3.2 at the moment. The website should work in different languages at the end and I develop my application so, that the strings are in PHP-variables that will come (translated) from the backend. Now, I considered if it is also an option to do the translation with js ion the frontend. I found this solution: https://github.com/coolbloke1324/jquery-lang-js … and ask myself if this solution will work with jqm ore if there are alternatives. has anybody experience
horizontal aligned form elements
Hello forum, I develop a mobile website wit jqm 1.3.2 at the moment. I need some forms with rows of label/form-element-pairs. or in other words: the label has to be at the left and the form-element on the right site. I found "Fieldcontainer groupings" but I want a side-by-side-behaviour up to 320px width. What is the best way, to realize that? Should I use the field container-feature and overwrite it's CSS media queries ? Or should I better use grids? best, heinetz
Mozilla Firefox Release 31.0 and how the jquery ui position method calculates the geometry of the bounding box
I was wondering how the jquery ui position method calculates the geometry of the bounding box for the following html5. def output_text_field(name,fields,size=50): print '<input type="text" name="%s" size="%d" value="%s">' % \ (name,size,fields.get(name,'')) I noticed some difference in the behavior of $('#_test_academic_advisor_name).position( off:'#_academic_advisor_name', my: 'left top', at:'right center') between Mozilla Firefox Version 31.0, which is the current release',
So I have 6 imgs. When a user's mouse is over one of them I want to change the top
When the user's mouse is off the image I want to return the image to its original position, If the user clicks an img I want to change its top position permanently (so long as the user is on the page). Please how would I do this?
I have been told that my question is ambiguous. So I am restating it with some code
I have 6 img tags: <div> <img class="cards" id="img1" border=0 src="./images/blank.gif" style="left:200px"> <img class="cards" id="img2" border=0 src="./images/blank.gif" style="left:220px" > <img class="cards" id="img3" border=0 src="./images/blank.gif" style="left:240px" > <img class="cards" id="img4" border=0 src="./images/blank.gif" style="left:260px" > <img class="cards" id="img5" border=0 src="./images/blank.gif" style="left:280px" > <img class="cards" id="img6"
Is Iscroll usable to create the same UI as the meetup app?
Hey people. A new man in the app dev. i am developing an app that is inspired in the activity feed UI from the meetup app. The Ui is basically a list of activities with a header (date) that when scrolling up, the header with the new date on it will push the previous header and become fix and so on. I have been searching how this can be possible to do it and found out iscroll plugin but I am not sure if I am right. any advice?
Is it possible that the jquery ui .css property only supports "inline" and "table-cell"?
In jquery-ui.js, I noticed the following code: ------------------------------------------------------------------------------------------------------------------------------- function isFloating(item) { return (/left|right/).test(item.css("float")) || (/inline|table-cell/).test(item.css("display")); } --------------------------------------------------------------------------------------------------------------------------------- Is it possible that the jquery ui .css property only supports
linking to correct section of help file loaded in jquery ui dialog
I have a html help file which I can load in a jquery ui dialog from an anchor tag in a backbone view. Not sure if there is a way to show only the details related to which anchor tag section was clicked. example: help file contains section User Creation User password change In the view if the user click on `User Creation` then i want to launch the jquery ui dialog and show only the `User Creation` details - the user can scroll to other sections if they want to.
Testing with Ajax
I am a newbie to QUnit. I want to test the ValidatePhoneNumber function which has a callback as follows. Would anyone help me to write a test in QUnit for this function? Thanks ValidatePhoneNumber: function (userName, successCallback, errorCallback) { VaultModel.callService(successCallback, errorCallback); } callService: function (successCallback, errorCallback) { $.support.cors = true; $.mobile.allowCrossDomainPages = true; $.ajax({ success: successCallback,
collapsible image jquery
Hello everybody, I want to have a menu with collabpsible image in jquery mobile, is it possible ? Thanks,
In Windows Phone Sqlite Record Insertion is Very Slow
Dear All, I have been developing hybrid application with PhoneGap and jQuery mobile. I'm using PhoneGap sqlite plugin and inserting the above 5000 records in the sqlite database table. In Windows Phone, it's very slow to insert the record in the sqlite table. Please, let me know how to solve the issues. But it's working fine in iOS and Android. Thanks!
Need assistance in getting a jauery plugin working
Hi JAKE, I have got yet another cool jquery pagination plugin, the documentation of which is located at : http://webdesign.tutsplus.com/tutorials/extreme-makeover-jpaginator-css3-edition--webdesign-3620 As usual I need to set the onPageClicked function and cannot figure out how as its different from others : Here is how we are supposed to call it : < script type = "text/javascript" > // Initial call $(document).ready(function(){ $("#pagination").jPaginator({ nbPages:64,
jQuery autocomplete using a local json file?
I am trying to create a jQuery autocomplete widget that uses a local json file. The code for my index page is as follows:- <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Demo</title> <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/minified/jquery-ui.min.css" type="text/css" /> </head> <body> <p> <label>Address:</label> <input type='text' name='ward' value='' class='auto'> </p> <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
Server abort error in jquery.form.js (while uploading large files)
Hi, I am using jquery plugin in our mvc application. when i try to upload a large file sometimes it works. However sometimes i get an error "server abort" after 10-15 minutes. After examining the plugin i think the error occurs from the below piece of code. I think the readystate got stuck in uninitialized state and the below code causes an exception after few recursive calls. function checkState() { debugger; try { var state = getDoc(io).readyState;
Urdu Text Editor
When we will be having a jqtext editor with multilingual support without using any plugin with them specially for RTL support for arabic and urdu.
Displaying the length of array from a specific index.
Is it possible if I have an array; myNumbers = new Array[0,1,2,3,4,5]; alert(myNumbers); This displays 0,1,2,3,4,5; But how can I display 1,2,3,4,5 from index location 1 to the length of the array; myNumbers.indexOf(1, myNumbers.length) Is this possible or do I have to loop through them? Thanks.
javascript datepicker run function with onselect code
Hi, datepicker selected new date and how do I run onselect:"myFFunction" Thanks all sample file = https://yadi.sk/d/NxMDKy05aVxD3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>TÜRKÇE_datepicker example || JsDatePick Javascript</title> <link rel="stylesheet" type="text/css" media="all"
Please let me know where we can find the position bug fix for Google Chrome.
Please let me know where we can find the position bug fix for Google Chrome. ----------------------------------------------------------------------------------------------------------------------------------------- Ticket #6044 (closed bug: duplicate) Opened 4 years ago Last modified 23 months ago position breaks in chrome Reported by: jogep Owned by: Priority: major Milestone: 1.9.0 Component: ui.position Version: 1.8.5 Keywords: position chrome Cc: Blocking: Blocked by: Description ¶ i try
Ammendment to the autocomplete Ui
I have a requirement for the autocomplete input field can this be done: Supposing i have locations like these: Adana Adana Havalimanı Adana İncirlik Adana Merkez Adana Adana, All Adıyaman Adıyaman Havalimanı Adıyaman Merkez Adıyaman Adıyaman , All Amasya Merkez Amasya Amasya, All Ankara Çankaya Ankara Yenimahalle Ankara Ankara So for the above , if i type in Adana it should bring in the four possibilities next to it and similar for others. Can this logic be
Need Help with Mousefollow
Hey Guys! How can I do, that my Mouse move in the Eyes? The Eyes are here; Click and here with the Movefunction. But the Pupils should be in the Eyes, not in the Hover! Thanks!
How to fix Apache server error for jquery-1.11.1.js
We are getting an Apache server error shown below when I try to use jquery-1.11.js in my python javascript program. When I use the following line, I get a Internal Servor Error message in the Google Chrome Browser Inspect Element window. print '<script type="text/javascript" src="https://eecsappsrv.mit.edu/cgi-bin-secure/lib/jquery-1.11.1.js"></script>' However, when I use instead the following line, everything works okay. print '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>'
jquery plugin for listbox ( maybe better a table ? ) compatible with images and or checkboxes
Dear fellow JQers, Im searching for a free of charge open source plugin that lets me create a list box compatible with images... Im searching for a listbox and thats maybe already my first fault as this is just the same as a table. And i think there are more table plugins than listbox cause when searching for the latter i dont get much. Any idea's remarks about this are welcome. I use this listbox to populate it with subscriptions of a user selected in another listbox ( without images ). The subscr
How to move an image up from its current location if the mouse is over it
and move it back to its original position one the mouse is no longer over the image. And if the user clicks the image to place it in a new location? I am a total noob to javascript/jquery programming. I am a c# programmer transitioning to web dev so I can read and understand most javascript/jquery code. Please help.
Test if tab is active
I am trying to test when a tab is active. I am not sure if you can do this or not, but I have tried to use .active() as it seemed like it was the only method that might do the trick. However, it does not appear to work the way I had envisioned: if ($('#tabs-4').active('option','active')) I thought this would evaluate to true, however instead it throws an error. Any insight would be appreciated.
Very new to this
Im designing a website though moonfruit and I would like to use the Accordian HTML as it would fit perfectly for what i am doing. The problem is, I cannot seem to change the font or the colour of the text and background, could anyone possibly help. Kind Regards Dave
Newb - jQM not displaying properly in Android 4.3 Default Browser
I'm doing some basic stuff with jQM. I decided to test some code in my android emulator (genymotion) running android 4.3. Once I login to my app, I just get the spinning wheel indicating that there is a jqm page load happening. Everything works as intended in chrome on android on a device, but not in the default browser in the emulator. Is there something special that I am missing in this regard? I have googled and searched with only one result. Any thoughts/suggestions are appreciated. Thanks
Using Datepicker on a Turkish Website
HI, What do i need to change when using the DatePicker for a Turkish website? I need the date to be in format ... dd.mm.yyyy . And if the months can be spelled in Turkish as well its better. Does it offer any possibilities from the above? Thank you
how to append serial number to append fuction
$.ajax({ type: "GET", url: "<?php echo base_url(); ?>bill/product_details", data: {'product_id':product_id,'price':price}, complete: function(json){ re=json.responseText; //alert(re); var obj = jQuery.parseJSON(re); //alert(obj[0].product_id+","+obj[0].price); //var sl=0; //var tmp=JSON.parse(re); $('#main_pro').append('<tr class="trt" id="'+obj[0].product_id+"_"+obj[0].price+'" ><td class="sl">'+cnt+'</td><td class="name">'+obj[0].brand_name+obj[0].category_name+'</td><td><input
Is there a way to move the screen to show a different horizontal "X" position of the screen via an icon
Hello, Probably another cant do question but I'll give it a shot. I have screens that scroll horizontal left and right. Is there a way to click on an ...arrow... icon to shift the screen to the left and right and not use the mouse to scroll left and right? Any ideas are greatly appreciated ... Thanx
button-states
Hello Forum, I'm developing a mobile website with jam 1.3.2 at the moment. some pages will get a menu of different functions an I use a fixed bottom navbar with icons. those functions could be simply links to other pages but also functions that toggle the display-state of panels or s.t. else with 2 states "on" and "off" and a would like to use the btw-down and the btw-up states. per default the buttons got the btw-down-class as long as the user taps on it. on release the they lose this class and
Problem with appending serial number
when i remove a row from appended the sl.no seen like 1 2 4 5 3 is removed
How many ways jquery links can be updated
Hi everyone.. I've been asked this question in an interview but as i'm new-bee to programming platform so i could able to answer it . So, i'm requesting for your help. How many ways Jquery library can be updated on our own site. Is there any jquery methods to accomplish this requirement. I've been heard about CDN links, apart from that. Is any other ways possible ? thanks in advance..
jQuery on HbbTV devices / qUnit test suite with XML
Hello jQuery people! on my company we're developing HbbTV apps for TV sets. This is an open standard described here http://hbbtv.org/. The standard requires that the pages are deviered by the webserver with the content-type: application/xhtml+xml - more exactly application/vnd.hbbtv.xhtml+xml and when we use this content type the browser switches to a strict XML checking which causes a lot of problmes with jQuery on this devices. Now I want to run jQuerys tests in XML mode. In the test folder there
autocomplete fill value instead of label on select.. why?
Hi, this is my code: <div class="ui-widget"> <input id="places_autocomplete" /> </div> $( "#places_autocomplete" ).autocomplete({ source: 'http://localhost/nightlife/events/events/get_all_places', select: function( event, ui ) { } }); Don't know why, ONLY when item is selected from returned json data, it fills me up with the item value. This does not happen until all labels are just proposed. Why?
Sliding Pop Up Button Open and Close
Hello Everyone. I am looking for a way to make the following code have the button switch between one color to another. Any suggestions would be great. <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>slide demo</title> <style> body{ margin:0; } .pollSlider{ position:fixed; height:100%; background:red; width:200px; right:0px; margin-right: -200px; } #pollSlider-button{ position:fixed; width:100px; height:50px; right:0px; background:green;
Jquery scrollbar is not working in dialog box
Hi, Issue :I'm trying to get customized scroll bar in jquery UI dialog using Jquery scroll bar plugin. But customized scroll bar is not visible. It is working fine without dialog box. It seems both the plug-ins getting conflict. Used plug-ins jquery-ui-1.9.2 Jquery Scrollbar 2.0 Could you please help me out ?
becoming a JS/Jquery Developer
Hey Guys my name is gautam . I have been in web development for like 6 months now , i actually wanna be a developer . basically i would like something thats more in pure javascript , maybe a small application , a small pluggin , i don' know what would be best . well i am sure people around here have alot of experience and maybe you'll could guide me the right way . would working on open-source , really help me build a skill ? could you'll suggest a simple open source project , that i could work
Fancytree SelectMode 3 get all checked or unchecked items
I tried posting on stack over flow but haven't got any feedback. I have select mode 3 enabled, where if you check/uncheck a parent, all the child nodes get set to that same state. Problem is, if any node gets checked or unchecked from a parent, I still need to look at that node because I show or remove things in another div, based on what is checked or not. Here's how I'm doing it now, but I can't seem how to figure out to basically say, after any item has been checked or unchecked do this code.
jQuery Validation Plugin and IE8: '0' is null or not an object
i've been using jQuery Validation Plugin since about 2.5 years ago with various projects in Lotus Domino and Microsoft .Net. usually my needs are simple, consisting mostly of using "required". but also i've created several of my own methods and i especially like using "remote" to avoid postbacks. now i'm working on a new project and Validation works find on My computer (windows 7 and ie 8). but for my co-worker and my boss (also windows 7 and ie 8), Validation gives a javascript error and submits
Next Page