Find GPS Postion on Smartphone
I'm doing some research if its possible to get the location of our user from the smartphone GPS. We don't have an APP made up its only in HTML using the smartphone's browser If there are any examples that would be great..
jQuery not executing as hide/reveal on portfolio pages
I'm building my site in WordPress and have attempted to implement jQuery as a hide-reveal on my portfolio pages (here is one example http://www.terryloweedwards.com/how-i-can-help-you/portfolio/writing-and-editing/). I made a page template and placed the PHP and jQuery in that page template. But it is not executing. Any thoughts?
please I'm desperate jquery mobile
Hello, I am developing a web application that calculates the level of a task, I used HTML5 and jQuery Mobile I've developed a list-view links to other php file in php passing a value, as follows <li> <a href = "golpes_especiales.php? value = 2 & acu = <? php echo $ acu;?>"> It tries poscionar casual </ a> </ li> In the gathering via php I Get the parameter value and also adding: <? php $ value = $ _GET ['value']; $ acu = $ _GET ["acu"]; $ acu acu + $ = $ value; ?> php is a final file shows these
How can I open a dialog on a onSuccess ajax script
Dear All, I use ajax to update a database. When the job is done the on susscess is lunched function onSuccess(data, status) { data = $.trim(data); //until here it works fine $("#dialog-contenu").html(data); // It works fine $("#dialog1").dialog(); //it doe not work } "data" is collecting well the value. But after I would like that the content od "data" open a dialog box and display the content. But I do not kow how to open
problem with text
Hello, i have a problem with jquery.columizer and jquery mobile you view my problem here :http://network.art-zoo.com/ipad/article.html when i load this page with jquey.mobile embeded (and no problem without jquerymobile) , the text is columnized anormally ( as you can see). Press F11 one time and second time ... and the problem is over and evrething is ok. i've tried differents solution with page create or whatever and i found nothing. sooo need help ... thank you very much Stéphane
problem when using dropdown list on galaxy s2 (doesnt works) VS when using the same code on s1 (works)
hi all, I encountered a problem using my galaxy s2 and jquery Form elements: http://jquerymobile.com/test/docs/forms/selects/ i took the code for field contaners (the long version-more options) and it works on galaxy s1 but not on galaxy s2. my galaxy s2 version is Android 4.0.3. and when i try doing the simplest dropdown list without jquery it still have issues with it - the dropdown list is working for like half a second and you cant really choose the option you wanted. i attached here the code
Parent's Children
I have an accordian and I'm trying to access the parent of the open item and then the anchor child of that parent. The accordian works just fine, but when it's active, I want the anchor tag in the dt to change colors as well. HTML <dl id="ann"> <dt><a href="javascript:void(0);">Sunday <span>Click to Expand</span></a></dt> <dd class="active">Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.</dd> <dt><a href="javascript:void(0);">Monday
Proximity Issue with radio boxes
I am getting multiple onclicks on radio boxes on Tablets, on desktop everything works fine but on tablet the selectCompany is SOMETIMES called twice, is there an issue with onclick on Tablets? Here is the code: <div class="formcontent" id="formContent"> <div data-role="fieldcontain" id="companyContainer" class="ui-field-contain ui-body ui-br"> <fieldset data-role="controlgroup" class="ui-corner-all ui-controlgroup ui-controlgroup-vertical"><div role="heading"
How can we get "pageX" and "pageY" positions when we working with 'swiperight' , 'swipeleft' events uring jQueryMobile.
I am not bale get pageX and pageY coordinates of page . Please please help me.
problems with multiple form submission
hello ! I want to submit 4 ajax forms with one button..How can I do ? **For each form I have code like : forms <div id = \"tabs-5\" class = \"Formulaire\"><center> <textarea name = \"parcours_prof\" id = \"parcours_prof\" rows = \"20\" cols = \"100\">".$PARCOURS_PRO."</textarea><br />".$PARCPRO_BUTTON."</center> <br class = \"clear\" /> </div> submit button per form $PARCPRO_BUTTON = "<input type='button' name='parcpro_save' id='parcpro_save' value=\" Enregistrer
Noobie question regarding expanding text (access <div> by class)
Hi all, I've still have little experience handling jQuery. I want to click some header and expand (and collapse) some text. I've already achieved a little example with success: <html> <head> <script type="text/javascript" src="jquery/jquery-1.8.1.min.js"></script> <script type="text/javascript"> $(function() { $('h1').click(function() { $(this).next('p').toggle(); }); });
Cannot use 'in' operator to search for 'using' in false with JScrollpane and Jquery 1.8.1
Hi. I used jquery 1.6.1 with plugin JSrollpane, and then I pluged the newest 1.8.1 version of jquery. And it gives an error: Cannot use 'in' operator to search for 'using' in false Maybe somebody knows, what is this mean? And what should i do? Thanks in advance
Back page path problem
http://chan15.info/question/mobile-remove/ I have three pages, index.html, list.html and detail.html, detail.html have delete function, after click delete me button in detail.html will popup a dialog to ask delete or not, if you choose delete, the page will redirect to list.html, I click the back button on list.html after delete, it will go to detail.html again, I hope it can go to the index.html because the detail.html should be delete at that time, how to remove the detail.html from history back
Content disapears Android 4.x
Hello, Currently i'm developing a mobile website with jQuery mobile. While testing my site on different browsers I encountered an problem: The content of my page is not showing. I'm using jQuery mobile 1.2.0 RC2 but when I go back to 1.1.1 the same happens. It only happens when my footer menu has data-position="fixed" and it is visible, when i tab the screen the menu disappears and my content appears when i tab the screen again the menu appears and my content disappears. Is this a known problem?
Dynamic tests
Hi, I'd like to run test from a JSON configuration that contains the input and the expected values. Is there an elegant way to create the tests dynamically? I tried to call the test method within module.setup, but that does not work. I can call test from a global loop. That works, but is not very elegant as I have to fiddle around with closure issues. Is there a goodoption I missed? Thanks, Kris
popup select menu after postback then page goes blank ??
i have a textbox, button and select menu in the textbox i enter a word to search my database table for it the select menu will contains my results which loaded via postback , i need it postback not ajax how to poup the select menu after finishing postback ??? i do the code below but when and it is OK , but when choosing an element it is go blank page * i am using 1.2 RC1 version with jquery 1.7.1 My Code : <script type="text/javascript"> function RequestClick(e)
Change class to change a click event on a div
Hi, Can anybody shed some light on this? I am trying to change the click event on a " #button_01" by changing the class name of the div when I click "#link_01" It seems to change the background colour through changing class though, so I know it is changing class. My code: <div id="button_wrp"> <div id="button_01" class="live_01">1</div> </div> $("#link_01").click(function(){ $("#button_wrp > div").attr("class",
Phones datpicker onfocus
Hi, When you have a input type = text and a input type = date. And go from the text field to the date field by pressing next on the (android) keyboard, instead of the phones datepicker , the text keyboard pops up again. How can I trigger the phones datepicker on focus instead of on click only ?
How to clear browsers (IE, Firefox, Opera, Chrome) history using JQuery
How to clear browsers (IE, Firefox, Opera, Chrome) history using JQuery
Javascript code and Sharepoint 2007 weird request
Guys, I have a a strange request, generally the problem is that I've bit of a code generated by Sharepoint. It displays list of links containing user views in a form of dropdown menu. Now I don't want to have dropdown menu, instead I would like table with the same list of links that java script below code generate. Of course not after onclick but renders as page renders. I know, I know very bad idea but the issue is that I'm not site admin and I don't have privileges to do this in any other way /
webshims polyfill excluding part of the page
Part of my page is a preload section of html I will include later dynamically in other places. Unfortunately, this section is also processed by webshims, so if I copy it and try updatePolyfill() on the copy, I get double input fields... So it would be nice if I had some way not to process the section...
How to use single jquery function for a control that used multiple times on page?
Hi, I have created a control (user control), which contains one hyperlink and one input textbox with two buttons. And I have written following code to hide and show text box onclick of hyperlink. It works fine when I use single controls on page. $(function () { $('div#divAddTag').add().css("display", "none"); }); $("a#addtag").click(function (event) { $('div#divAddTag'). add().css("display", "inline-block"); $(this).add().css("display", "none"); }); Now I
issue with dynamically generating button at the linked page when refreshing it
Hi everybody! I got an issue in dynamically generating button at the linked page. The scenario is like these. 1.click the third item in first page to dynamically generatting button at the linked page and change page to it. 2.you can find that the button's style is ok in the linked page, and refresh this page. It did change to the first page after refreshing. 3.click the first page's third item again to dynamically generatting button at the linked page and change page to it. 4.you can find that
merge strings in jquery
hi ,i am trying to display similar strings in an array in a singel string seperated with "/". for example i hava an array like var arr ={ sportrs/ football,sports/basketball,sprots/baseball, news/bbc, news/cnn} i want to display arr as : - sport>football/basketball/baseball news > bbc/cnn. any help would be greatly apreciated. thank you.
Dataable plugin
Hi guys, i ma using datatable plugin for creating a grid... i want to know can i use the feature given in the link below http://datatables.net/release-datatables/extras/ColVis/style.html in such a manner that when i click on the button, it should open a pop up window rather than just a slide down that it it doing in this example... thanks in advance
How to work with Select menu <Select> with a large number of options #&ui-state=dialog problem?
I have created a dropdown box using <select> <option> using data-native-menu="false" to get the JQuery Mobile look and feel This is a basic form that allows the user to select the state they live along with some other basic info The select menu is a list of all the states in the US. Example: <label for="state"><b>Select State:</b></label> <select name="state" id="state" data-native-menu="false"> <option value="">State</option> <option value="AL">Alabama</option> <option value="AK">Alaska</option>
JQM and facebook ios6 likes
Not sure how much this is a JQM issue but I thought I would try here first. Just ran into an issue where the new IOS6 has some type of hardware button for likeing a web page. The problem is, my button has a query string attached to find the correct item when clicked on in Facebook. The hardware button does not. Can anything be done about this other than training users ? Thanks.
Jquery.Ajax post queston
Hello everyone, I have a form that is being processed and validated by Jquery. I was just using a post to process the form and serializing it. The only issue is that it would submit into our database in Firefox, Chrome, and Safari but not any version of IE. Now I am using an $AJAX post. I also do not know if I have tied in all of my script together correctly. Any help is appreciated. Here is my scirpt: <script type="text/javascript"> $(document).ready(function(){ $("#formid").submit(function(event){
control <div>-contents to be displayed by checkboxes
Hi, I am trying to write an application where contents shoud be displayed in different <div>-containers according to checkboxes which are checked. index.html <form id="target" name="form" method="post" action=""> <input type="checkbox" name="layer" id="gia">GIA<br> <input type="checkbox" name="layer" id="terms">Terms<br> <input type="checkbox" name="layer" id="contact">Contact<br> <input type="submit" value=" Absenden "> </form> <div id="content_gia"></div> <div id="content_terms"></div>
How is a Slider Event determined with jQuery Mobile
Hey all, My app allows users to select and play a file they have recorded - works fine. Using jQueryMobile also shows a slider that moves along as the file is played - works fine. (using: jquery.mobile-1.0.min.js and jquery-1.6.4.min.js) <script> ... //This code is called when I set the position of the time shown on the screen - works fine (called from 'my_media.getCurrentPosition') seekbar.value = position * 1000; $('#seekbar').slider('refresh'); ... </script> <input type="range" step="any" id="seekbar"
Adding HoverIntent or Similar
I am trying to fix a bug with a dynamic menu we are using in Wordpress. The menu slides down when you hover over the main categories. Basically, the problem is the sub menu can be quite wide if you have 3 levels of sub navigation. So when the menu expands to the sub menu, most users will accidentally slide over an adjacent parent menu item and that will completely change the sub menu items. Frustrating. I found a function that accomplishes exactly what I need, it's called "HoverIntent". The problem
binding ajaxStart to a module object
hi all -- i can get around the problem below (with $(document)), but i'm trying to figure this out for future knowledge and understanding of jQuery binding and scope. i have a basic module, and i want to bind something like ajaxStart to it. var MyModule = (function($, my) { $(my).ajaxStart(function() { window.alert("ajax start"); } ); return my; }(jQuery, MyModule || {})); $(document).ready(function() { $.ajax(SOME_AJAX_SETTINGS); } ); the alert never appears. if i instead bind ajaxStart(...)
Improving ability to autocomplete substrings: preserving caret position
Hi, I've been wanting to use the Jquery UI autocomplete plugin to autocomplete substrings in a textarea. To control the carot position while scrolling through autocomplete options, I found I had to modify the autocomplete code to add an option to prevent autocomplete from directly calling self.element.val(...), which resets the caret position. A patch containing my mods (relative to 1.8.20) is below. Basically, I added another event hook to control how autocomplete resets the value of the text
help related to jquery using web service
Hi Folks, I need to call a online web service and send request to it and receive some data from it in form of XML or JSON. I need to do this using jQuery. Can anyone please help me do it with simple example. Thanks in advance,
How to get Long-value from JSON-object?
My JSON-document has a property "id":"250155863787057152". I'm trying to get it in success-section of $.ajax, like this - data[0].id, and it show me 250155863787057150. How to get unrounded value from JSON?
Stoping setInterval
I am new to javaScript and wondering if anyone can share some insight. I am playing around with "ID's" trying to get comfortable and such. I know jQuery has a really quick solution, but I want to know how to do it via js. PLEASE HELP! function startTimer(){ var n = 0; var e = document.getElementById("output"); var myTimer = setInterval (function() {e.innerHTML = n++;},100); // clearInterval(myTimer);
icons nad text repeated
hi, everyone, well my issue is this: i have menu navbar but the problem is that the icon and text appear repeated, so i don`t know how jquery mobile add the other span with icon and text, when i just need once, somebody know what this happens, thanks
Disabling input fields in a form causing Javascript error in IE 7 (works fine in Firefox)
I have a form in which I am disabling all the input fields that is not hidden on jQuery(document).ready(function()) Here is my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <div xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jsp/jstl/core" lang="en" xml:lang="en"
Google-like search plugin
Seeking a plugin (or tutorial) to assist with creating a google-like search field, where results begin being returned as soon as user begins typing. Have spent a couple of days wading through several but haven't stumbled across a "best of breed" yet. Help?
implement static divs in an animation
hi all thanks to popnoodles i could finaly achieve what i wanted but now i am in front of an other problem xD maybe anyone could help me there http://jsfiddle.net/yCY9y/175/ here are some boxes which are getting bigger by mouse over but now i want to implement 2 static boxes ( in each column one ) by static i mean boxes which dont change their size by mouse over but they are moved when an other box cahnges the size so that is is seen all the time greetings fönig
Next Page