Problem with button state inside modal dialog called from another modal dialog
I have a problem with the state of a dialog button that is included within a modal dialog called from another modal dialog. The second modal dialog loads fine, but the button in the dialog initializes in hover mode and no rollover effects seem to be working. The click function on the button works without a problem. I seem to remember reading somewhere that this was a jQuery UI bug? Any help greatly appreciated.
Is it because of JQuery that this page does not load all images?
Hello; This page does not load all the components all the times! For example images. I have to refresh a few times till I see everything! What could be the problem? Thank you
Slipt video!
Hello, how could split in two while a video is playing? Thanks!
Clash of 2 JQuery functionalities!
Hello; I use 2 Javascript filters to filter the results based on hotel star rating and the price in this page. The checkboxes filters hotels with minimum star rating. The slider on the other hand filter the results based on the price. The both work fine but the problem is when I use the slider it messes with the checkbox and checkboxes dont show correct results anymore! Can anyone help? I am pretty sure I have to change something in the slider function. //Slider Price function showProducts(minPrice,
I can't see why the code doesn't work. About Jquery and checkboxes
Hello; AAAAAHHHH!!! I have been staring at screen for past 2 hours and can't find out why Example A works and Eaxmple B doesn't! This is what they are supposed to do. Thank you. Example A (works): <ul id="filters"> <li> <input type="checkbox" value="categorya" id="filter-categorya" /> <label for="filter-categorya">Category A</label> </li> <li> <input type="checkbox" value="categoryb" id="filter-categoryb" /> <label for="filter-categoryb">Category B</label>
Cycle Plugin - 2 different Slideshows in one Container
Hello forum, I'm stuck on, I guess a simple thing - to explain my problem on an example, see exactly what I want to do: http://www.infinum.co/ I want to solve two different slider-effects, hopefully in one container - a background-image fade and a front image scrollLeft, both accessable by the same pager-navigation. I'm quite a newbie so this is hard for me. Status quo: I slide the whole full-width-container (background-image) to achieve the background-fade. The front-image scrollLeft is another
Jquery Ajax to pop3
Hello, Has anyone ever done any work with ajax to a pop3 server? I cant find anything related. Im hoping to develop a helpdesk ticket system. Im looking to download header info and create a screen with email info ... Thanx,
ajuda.............
Olá, gostaria de um código que a cada 1 minuto acontecesse isso: $.get('/profile?mode=editprofile&page_profil=notifications', function(datag){ var numero = $('.main-content:contains("Notificações") tr[class*="row"]', datag).size(); var topic1 = $('.main-content:contains("Notificações") .frm-form', datag).html(); var checa = $('.main-content:contains("Notificações") .frm-form .postdetails', datag); if(checa.length){$('#locv').html('<center><div>'+topic1+'</div><div onclick="window.open(\'/profile?mode=editprofile&page_profil=notifications\',\'_self\')"
layout broken when refreshing
Hello guys, I tried to load the news feeds from Reuter website to my jquery mobile application. Everything works fine except that when I pressed refresh button- F5 many times, the css layout of my page got broken. You can see the link to understand really what happened https://dl.dropbox.com/u/48168281/forum.png https://dl.dropbox.com/u/48168281/forum1.png Thanks for your consideration, Best Regards,
How to make a textbox accept only "c" and "d" letters?
I want the textbox to accept only either a "d" or a "c" nothing else. If a user enters an "a" or "b" it must be wiped. Also, is it possible to limit the textbox to English language only? I don't want the user to enter an alphabet in another language by mistake. I want it to stick to "c" or "d" and nothing else.
stopping the url bar from dropping down - i discovered a workaround
if you remove the "href="#" or href="myurl" from the HTML or dynamically generated listItems and instead deal with it in a click listener calling mobile.changePage, the url bar does not drop down. this is annoying to have to do this in code, but the dropdown is more annoying and ruins the feeling of an app. examples of workaround $(btnExercise).click(function() { $.mobile.changePage("#exercisePage", defaultTransition, false, true); }); when dynamically generating a list, if i use <a href="#"...>
Switch between tables hide/show
I am currently doing the below and it works...although I have two buttons.... I want to have ONE button that changes between tables and when it does changes the name on the button Is this possible? How do I combine into one button and then changes the text of the button? Thanks hope you can help.... <script type="text/javascript"> $(function() { $("#TableButton").click(function(){ $('.listRow1').show(3000); $('.listRow2').show(3000); $('.iconRow').hide(); }); $("#IconButton").click(function()
Selectors API Level 1
Hi, everybody. This is a site from Terra Informatica: http://www.terrainformatica.com/ W3C: “Selectors API Level 1″ is out but …Can somebody confirm if is useful for JQuery? Thanks.
Plugins stops working wehn upgrading from JQuery 1.8.3 to JQuery 1.9.1. Could someone, please, help me out?
Hello, Some time ago I created a Balloon plugin using JQuery 1.8.3. When I updated from JQuery 1.8.3 to JQuery 1.9.1 my plugin stoped working. The balloons do not show anymore. I went back to 1.8.3 and it works. I tried to understand what might be wrong but I can't find it. Could someone, please, help me out? This is my code: (function ($) { $.fn.Balloon = function (options) { var defaults = { balloon: "", class: "Balloon", click: false, id: "Balloon",
Autocomplete. Why wont you work?
I have this script $(document).ready(function() { $("#Search").autocomplete('loadxml.asp', { minChars: 2 , matchSubset: false , matchContains: true , width: 290 , max: 10 , scrollHeight: 600 , dataType: 'json' , parse: newParser , cacheLength: 10 , selectFirst: false , formatItem: function(row) { return row['value'] } }).result(function(event, data) { window.location.href = data.url; }); function newParser(raw) { var array = new Array(); var prodCount = 0; for (var i = 0; i < raw.length; i++) { if
ajax xml not loading initially online
Hello. I'm attempting to load data from an external xml file. This is my code that runs at the beginning. ///////////////////////////////// ////Retrieve level information/// ///////////////////////////////// $.get('scripts/level.data.xml', function (d) { $(d).find('Level').each(function () { var $level = $(this); if ($level.attr("Level_Number") == level) { var count = 1; //Cycle through die contents of level $level.find('Die').each(function
Why jQuery removes Margin when showing/hiding the element?
I have an element that has margin-top and border. When I call $(element).show() it doesn't use the element's margin and the it doesn't look good (in original fiddle If you click on the div that is after the input text the slide animate starts from top of the text input and you see a black line passing it and it's not beautiful! I want the animate start form the bottom of the text input.) This is my beta in jsFiddle. but The orginal is diffrent (I remove an element because the wanted element cannot
Can't bind in my own themes since yesterday
Hi all, i have made my own theme with the themeroller and bind it into my source successfully.: <link rel="stylesheet" href="/themes/MY_OWN_theme.min.css" /> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile.structure-1.2.0.min.css" /> This works fine in the past. Since yesterday it does not work without changing the code. The buttons, slider, ... are no longer displayed. Only if I ignore my own theme: <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css"
Form submit empties DOM when using AJAX
Hi! I have an issue when using ajax on a self-submitting form. If I turn off AJAX, everything works fine. I can see the response is returning the HTML fine, but the DOM is emptied instead of inserting returning HTML. Anyone had similar issues? You can see it live here http://tinyurl.com/ak7kxx2 P.S: AJAX is turned off, so you need to use your firebug/dom-inspector to change the data-ajax attribute on the form from "false" to "true" before submitting.
Can a split listview be split multiple times?
Hello, I'm using jQuery Mobile 1.3.0 RC1. I see that a listview can be split according to these docs: http://jquerymobile.com/demos/1.3.0/docs/widgets/listviews/ under the Split Buttons heading. That example shows the list items split into two buttons. My question: Can the list items be split into multiple items of more than two? I want to have the "text part" as shown in that example, and then three buttons after it, instead of the one button shown in the example. Along with that, can I mix
Fixed Toolbar usage. data-hide-during-focus
We have recently come across an issue with our fixed toolbars with the 1.3 upgrade. On iOS devices after the upgrade, we noticed that our fixed headers were hiding when we would tap on input fields on the page. To fix this we had to do some digging and found the data-hide-during-focus attribute and set it to an empty string. This allowed our headers to stay fixed, and also improved some performance issues on the page. <div data-role="header" data-position="fixed" data-tap-toggle="false" data-hide-during-focus=""></div>
data-position bottom for panels
I am using the panel widget in the web app I am developing. http://api.jquerymobile.com/panel/ I look forward to when these can be used outside of the page structure (so that I can include the panel once (it is used for navigation of my app) in a multipage app). However, I would like to make use of other panels and it would be great if I could animate these in using the overlay from the bottom of the page - much like a modal view controller in iOS development. I think this would be great for quick
$(#).css not working
It appears that the script code does not fire for some reason. Any ideas? css .isvisible{ visibility:visible } .notvisible{ visibility:hidden } Html (works) <div id="SectionLink" class=" notvisible"> @Html.Partial("Partial/_SectionDisplay", Model) </div> <script> $(document).ready(function () { $('#P1').change(function () { $("#SectionLink").css("isvisible"); (Does not work) }); }); </script>
Handling custom errors with $.ajax method that are passed back from server?
Hi, I want to pass back and handle a custom error message using the $.ajax method. I think I'm close but I'm stuck on parsing the error. My questions: ------------- 1.) How do I parse the [Exception] section below?. Shows it being returned to client but I was hoping it could be pulled out with a method on the XHR? 2.) Is there a way to set the "textStatus" or "errorThrown" with the custom error and use those on the client? Or are these read-only? On the server (Using ASP.NET) //Test to force
how to set active link highligh in jquery
hi , every one this vamsi i have problem in my project that is i want to highlite the active link ....so please help me as well as posible.. thanks, vamsikrishna
Problem with Tabs and SelectBox
Hi, i have following problem i think its only on Internet Explorer 9. Theres a jquery UI tab on my website with a form and drop down menus in it there will only show three letters of four letters. Example: <option value="herr">herr</option> <option value="frau">frau</option> Website will only show "her" and "fra" but only with Tabs. Example on web: http://citybreaker.square7.ch/1/
GET vs POST
I always believed that the difference between using GET and POST to submit data was that POST sent it as like an attachment to the HTTP header (like a file attached to an email) and GET put it on the end of the URL and used command characters so separate it from the rest of the URL and to separate key > value pairs. this meant that with GET the data could not contain characters used as command characters such as ? = and & also GET had a data limit. this means that GET can be used to attach data to
.js include
I am super newby in JS, and have a problem. I want to write a script in a separate file and link it to html, but it`s doesnt working. here is code <!DOCTYPE html> <html> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src="js/zenit.js"></script> <style type="text/css"> @import url("styles.css"); </style> </head> <body> ... </body> </html> its work well here - http://jsfiddle.net/corpz/q4RTT/36/
JQM 1.3.0. Panel
$('#panel').live('pagecreate', function() { $('#defaultpanel').panel("open"); .... } caused this: Uncaught Error: cannot call methods on panel prior to initialization; attempted to call method 'open' at http://code.jquery.com/jquery-1.8.2.min.js:2 Any suggestions? Thanks in advance
Everything is very small (Android/Galaxy S3)
I'm new to jQuery Mobile and I'm having a small problem when viewing a page with my android device. Everything on the page is tiny. I'll just show you an example to avoid further confusion. http://hacknet.se/m/ <html lang="en"> <head> <meta charset="utf-8" /> <title>Demo</title> <!-- Load jQuery Mobile --> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" /> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
jquery hide and show problem
i am working on a project.In which I am displaying the transaction list.and if admin click on any of the row then the row will disappear and a new row with form to update that row will open with cancel button.Here admin can update or cancel .if he can cancel then orginal row will appear and form row will disappear.if i dont click on cancel and click on another row then update form row related to that row will appear and original will disappear.at the same time we can open the form of all form rows
timepicker problem
Hi, I've rolled my own theme, I've made a custom jQuery UI pack (date picker and time picker) and installed it all. I've made also 2 script, 1 for my date picker and 1 for my time picker. I disable all Mondays en Sundays and what specific dates, this part of the code is still working: $(document).ready(function() { var disabledDays = ["3-31-2013", "4-1-2013", "5-1-2013", "5-9-2013", "5-19-2013", "5-20-2013", "7-11-2013", "7-21-2013", "8-15-2013", "9-27-2013", "11-1-2013", "11-2-2013", "11-11-2013",
Object dispatcher
Hi there. How can I concat string and create an object??? Like we do in PHP. function createObj($id){ $str = 'controllers_config_' + $id; return new $str(); } $obj = createObj('structures'); How can I do this in Jquery or Javascript ???? I hope I've explained. Thanks
Width of text input in JQM 1.3.0 and android
With JQM 1.3.0 the text inputs are displayed different than in 1.2.0. This happens only on on Android (SGS2, Android 4.0.4), but not on my IPad oder Desktop Browser. In JQM 1.3.0 the input box is larger than the actual box you type in (for a better understanding see my screenshots). This is the HTML Code for the input: <tr><td> <label for="mph_father"><span lang="en">Height father (cm)</span></label> </td><td> <input type="number" onKeyUp="mph_calc()" maxlength="3" style="width:100px"
[solved] No icons on smartphones since 1.3.0.
Hello Community. Since the update on 1.3.0, there are no icons on the Smartphones. Tested with iPhone and Android, on the PC it works. It seems that the icons are not at the right positions...see it at the Attachements. With the older Version of jquerymobile it worked. What can be the Problem? Thank you so much...
clicking on image should take me to the previous div using query- help needed
Hi, my scenario is like, there is an image in a div: <div class="leftSelect" > <img class="pushToLeft" src="./images/arrow-sched-left-none.png" alt="arrow-sched-left-none.png"/> </div>this image is present in different parent divs with different ids. now i have below scenario: <div1> <div class="leftSelect" > <img class="pushToLeft" src="./images/arrow-sched-left-none.png"alt="arrow-sched-left-none.png"/> </div> </div1>similarly another div: <div2> <div class="leftSelect" > <img class="pushToLeft" src="./images/arrow-sched-left-none.png"alt="arrow-sched-left-none.png"/>
trigger("create"); works in jqm 1.2 but not in 1.3
I have got a dynamic injected form element and initialized by calling trigger("create"), the following code works in jqm 1.2 $("#rightpane").append("...form element code...").trigger( "create" ); alert("initialization completed"); but in jqm 1.3 it just hanged on that trigger("create") line and the alert code never executed nor the form element "JQMed". is this trigger("create") still supported in jqm1.3? or I have done anything wrong?
does work with jq and jq ui, doesn't with jq mobile
http://jsfiddle.net/tearex/JjRLf/2/ are these two frameworks that different? how to adapt the code to jqm?
Duplicate the functionality of AIOSearch.com a Multi-Tabbed Federated Search Engine using JQuery
Hi, I have a possible consulting project for someone who could duplicate the functionality of a site located at http://www.AIOSearch.com using JQuery and JSON. Some experts have told me that this can not be done using JSON and JQuery to access data using AJAX or JSON and JQuery. Here is a sample JSON query we would like to return into either the 2nd or 3rd Tab of a Multi-Tab Browser emulator like AIOSearch.com {"nodes":{"oemstrade":{"requests":[{"id":"B7AA61AB-A48A-45CD-8E99-EA646571CC7C", "name":"GRM155R61A105KE15D
Jquery value to java
HI Please somebody help with this :) I need get count all " texetarea" with attr "wicket:id" to some "var d;" and this "d" pass to java ????
Next Page