SELECT html element using default style.
I would like to know how to 'initialize' JM, but have it not 're-css' a specific SELECT element I have, but to leave it alone. As this select element is part of another framwork and wish for it to stay the same. When JM applies its theme, its too big. Now ofcourse there are other selects that JM can re-theme as they are part of the normal interface inputs. Id like to set my select class to something like class="leave-as-default"
button CANCEL in popup
Hello, I have a popup that contain 2 buttons on of them is for closing this popup ! how can I modify my code to get what I want ? <a href="#popupLogin" data-rel="popup" data-position-to="window" data-role="button" data-icon="check" data-theme="b" data-transition="pop" >Envoyer</a> <div data-role="popup" id="popupMenu" data-theme="c"> <div data-role="popup" id="popupLogin" data-theme="b" class="ui-corner-all"> <div style="padding:10px 20px;"> <h3>Pour confirmer
jeasyui datagrid load data error
I have minor error at using the jeasyui datagrid.......when I page refresh my website then the datagrid view doesnt display the data........It shows only footer of the grid at the top of the div....data is displayed in the datagrid after pressing the refresh button........I also used jqueryui.com tabs. conflict is occured between tabs and datagrid. When I disabled tabs jquery files then the data in the datagrid is displayed well, other wise only showed footer of the grid which is attached file..How
Need help finding carousels that work in 1.4
I love the carousels here but I can't use them in my Drupal site due to version issues http://spaceforaname.com/galleryview/ Does anyone know this author? Do you think he might still have a version from about 3 years ago in 1.4? Unfortunately, his GitHub account only dates back a year. Any ideas how to find great work like this that will work in my site? I'm using a SaaS version of Drupal so no option of using http://drupal.org/pro... module. Thanks!
[jQuery] Superfish Drop down Not Working
My jQuery Superfish drop down list is no longer working. There have been no changes to the site recently. http://www.engineeredcontrols.com/eci/projects.php Can anyone lend some assistance as to what may be causing the issue? it worked before, no changes have been made. thanks -dp
Problem getting multiple menus with flyouts to work on the same page. . .
Hello, I'm not very good with JavaScript, so I'm sure that I am probably missing a basic concept. . . I want to have multiple menus with flyouts on the same page. I have mouse over calls that seem to work to call the javascript function. The VisionFunding one works, but the m3 one does not display properly. It looks like when the m3 one shows up, it is empty. I think I am missing something basic in the jQuery function and CSS interactions. Here is the code for the image map calls. <map name="WFAgile">
How to change the return key label.
Hi, When a user types into a text input box my iPad enter key currently says "GO". I would like to say "DONE". How can I achieve this with jQuery Mobile? Many many thanks, Steelow
header bar
Hello, In the header bar of my home page, I must have a button (cancel) and next to it a label (Home). I tried to do it, but they are displayed in 2 lines ( CANCEL in a line and HOME in another ) my code : <div class="ui-bar ui-bar-b"> <input type="button" value="Cancel" onclick="window.close()"/> <h1> Acceuil</h1> </div> and in the Header of the page I put this : <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>My Page</title> <meta name="viewport" content="width=device-width,
A question about nested ajax loads.
Hi, I'm new to jQuery here, so I apologize if theres something obvious I'm missing. I have a main page that loads "page1.php" into content div "content_div" via ajax load. However, I would like to add a button to "page1.php" that loads "page2.php" into "content_div", replacing the content of "page1.php". How would I go writing the script that allows "page1.php" to use "content_div" in the main page? Thanks
Selected Drop down text disappears in MVC4 application after validation
I am using jquery mobile for ASP.NET MVC4 application. Validations are performed using jquery validate and unobtrusive js. During client side validation the selected value displayed in the drop down disappears. Following is the html the class="input-validation-error" style="display: none; " is applied to the span that displays text on the drop down, this is not correct. Attached screen shot for reference. <div data-corners="true" data-shadow="true" data-iconshadow="true" data-wrapperels="span" data-icon="arrow-d"
expand all and collapse all feature does not function completely
I have an issue with my expand all/collapse all feature. Here is my jsfidde link: http://jsfiddle.net/pavloschris/HqXMN/13/ Lets say expand Name1 and Name2 and then hit Expand all button, What it does is it expands everything but collapses Name1 and Name2. Do I specify the css id in my javascript function? $(function () { $(document).on('click', '.expandcollapse', function (e) { $('.collapse').each(function (index) { $(this).collapse("toggle"); }); if ($(this).is('.icon.white-icon
specific id replaced by [this.id]
... while entangled in a complex formula var droplist = Math.floor(Math.random() * $('#youridsir1 option').length); This line repeats severeal times with id varying by the last digit. I would like to make this code more uniform, before an attempt to create a loop. how to replace #youridsir1 with something like [this.id] ?
External url content loading problem when using mobile.loadPage
Hi, I'm trying to load an external url content to a div.When I use the Js code block below, the url content is displayed successfully. But divHeader is not visible because mobile.loadpage creates a new div under divContent, sets the url content to this div and newly created div's style is ui-page. When the style is ui-page it surrounds the whole page so divHeader isn't displayed properly. When i delete the class value "ui-page" from newly created div at runtime everything is fine.I couldn't change
iframe breaking page scrolling with jquery mobile
I'm have a weird issue here. I have a piece of the jquery mobile events code running on my mobile site. Everything works fine, but when my page is completely still and i put my finger on an iframe and try to move the page nothing happens. I have gone into the events that are being created by jquery mobile code (tap and swipeleft/right) and the event is never reaching any of the code there while touching the iframe. I have tried to put the whole jquery library in just to make sure I wasn't doing anything
How to troubleshoot breaking changes as a result of jQuery functionality improvements?
I have functionality that was developed many moons ago, and I don't keep track of individual jquery version upgrades. Now, when I upgrade to a never jquery version stuff stops working. How does one go about trying to find out what is not working?
long downloads indicator
I have a link whihc creates a word document and starts the download, I want to display a message or indicator that ur download is being prepared and once browser open the dialog to save or open the file I wan tto clear the messaeg is it possible is there anythin g available ?
jquery easing.1.3 js plugin
How to use jquery easing.1.3 js plugin with wordpress ? because is not wordpress plugin so I am struggling to installed it to my wordpress theme. please help
function triggerd by div resize
I want to make something like this <div id="resizeable"> some stuff here </div> $("#resizeable").bind("resize", doSomeThing); function doSomeThing() { // some code } However, I was unable to bind resize to a html element. I tried with bind, live, on and resize functions and neither worked like this. It only worked on $(window).resize() Keep in mind that I tried these ways, that are available after my version of jQuery, but I must only use jQuery 1.4.4. Thanks.
javascript not firing following AJAX page transition
This is getting a bit frustrating. I've seen quite a few answers regarding pageinit, pagebefore, etc, but I am not having any luck. I am developing a little web game, that requires a user_id and which displays many unique variables on each page. As such, getting javascript to work (all the time) is vital to a smooth user experience. Due to the dynamic set up, I have a 'main' template which sets up the page and loads content into it through codeigniter (php). <!DOCTYPE html> <html> <?php
meaning and difference of client side processing and server side processing
What is meaning and difference of client side processing and server side processing?Can any one give brief explanation of this both?
Listview highlighting issue on Android (.ui-btn-hover-c)
I have found a problem with listviews on Android devices where the hover style of a listview item can stay on permanently, even after releasing my finger from the screen. This problem does not existing on iOS devices but I can easily reproduce this issue on my Android 4.03 and Android 4.1.1 phones. To reproduce the issue test with a listview that is inset and has enough list items to scroll. If you flick around the list eventually one will stay permanently highlighted. Try selecting the item near
jqm 130 Panel URGENT
Hi, I need to implement a left-sided-menu in my app for tablet version. I tried to use Panel. I added into each HTML file a <div data-role="panel" id="panelDiv"></div> at the top of the page. I made panelMenu.html with a ul li. In js file in section for HTML page I put $('#panelDiv').load('panelMenu.html'); on that SomePage.html I got nothing..if I exclude data-role="panel", the 'panelMenu.html' loads but it looks like it is missing css and links to other pages does not work. Basically, it loads
Making dropzone droppable again after element has been dragged out
I'm trying to build a website where the user can drag some items (one item in on div) to other divs on the page. It' not a table or so, just divs somewhere on the page (Example). With html5 drag&drop it works well, now I try to do this for mobile devices. I can drag items to divs, drop them there and block this dropzone, because only one element should be in a dropzone. I also can drag this element to another div if I've had make a mistake. but then I cannot drop another item in the div which is
Datatable plugin advantages
Can anyone tell Datatable plugin( http://www.datatables.net/ ) advantages?
JqM 1.3.0 problem with local files
I'm creating some webapp using jqm but when I try to make a cleaner directories layout using html files inside different folders I got problems. I try to be more specific. I want to use my file in local, people download the zipfile then use it in local. I already do it but I want to create a multilanguage webapp so I create EN and IT folders I put inside their respective files and on desktop PC it works like a charm but when I test it on my Acer tablet Android based no browser find the files inside
Dynamically add component, somebody have solutions
I have "add" button when click this button will create textarea via jquery. more clicking more textareas I must send all texares value to wicket java class and save in database (and have "send" button )
jquery spin button appearing twice on moving the window. Please help
I have got a div element, in side which there are two jquery spinner controls. There are multiple copies of this div elements inside a jquery sortable control. I can move the div's up and down to sort the order. The problem is if I move the div by holding the mouse and leave it, spin buttons are appearing twice. Please find the links to screen shots below. https://docs.google.com/file/d/0B-02O35keeGGdXl3d2dUeEdXeHc/edit?usp=sharing https://docs.google.com/file/d/0B-02O35keeGGTDBNdG5xTE9CNjQ/edit?usp=sharing
Using Jquery with SP2007 for a Cascaded dropdown on a custom form
I have a need to implement a cascaded set of two dropdowns on a sharepoint 2007 custom form and was told to pursue JQuery to do so. Here is my original posted question on another forum: I have a custom sharepoint form that I want to manage two dropdowns on. Lets say one field is called SEGMENT and the second field is SUBSEGMENT. When SEGMENT dropdown "Defense" is selected then dropdown two SUBSEGMENT would have the following options: Army Air Force Navy When SEGMENT dropdown "S&L" is selected
moved to another forum
moved
I want to build simple UI pages which consists of free scattered buttons
Hi! I want to hook up my spring project into some simple client pages which contain mostly buttons. I have a basic knowledge in html,css and java script, so i'm looking for some plugin that will give me the option to select an item from a development wizard and drag it to my page a resize and relocate it as i wish (luck you can do in swing) . Can i do it using JQueryUI? Thanks!!
what does mean arguments of .ajaxError(function(event,xhr,options,exc))
I have been using the error() Ajax Event in $.ajax() and $.ajaxSetup() that have three arguments: error(xhr,status,error) i know what is these arguments and don't problem with it. But cannot understand the arguments of .ajaxError(function(event,xhr,options,exc)). Can any one describe these arguments, each of the four. specially event argument. and can give me an example that to use each of the four arguments of .ajaxError(function(event,xhr,options,exc)) Regards
Toggle/Select 3 Div's location within another div, maybe using position absolute or insertAfter
I have a album Page, with 4 images per page, images are displayed in a container div. This container has 3 DIV's, top one is NAME of image DIV, next ones is IMAGE DIV and the 3rd one is DESC DIV I wanna be able to Toggle/Select the Location of the NAME or DESC to be either be above or below images for all 4 images I like example one better, but have not been able to get it to work with multiple containers EXAMPLE ONE this example does not use absolute position but i can only get it to work if I remove
Can I call dialog from c#
I'm a new user of jQuery and I want your help I want to display jQuery dialog from c# after inserting data into database like an example how to do that ? Thanks
Get method is not working, please help
I'm trying to add data to my link to retrieve through the get method on another page. window.open("vouchud.aspx?vkey=" + _callkey1_ + "?tdate=" + _key2_ + "); It is not working and I get an error. Does anyone know why or how to solve this?
Problem with a large select-menu when using ajax call on change event using jQuery Mobile 1.3
I'm using jQuery Mobile 1.3, with a theme made using themeroller. I have a large select-menu with the option data-native-menu="false" (When i mean large i'm talking about 30 items), i have bind this on Change event: $('#select').on("change", function (event) { $SectorPropiedad = $('#select').val(); if (_filterRefresh) { cargarDatosInmuebles($SectorPropiedad); } }); inside "cargarDatosInmuebles" function i make an ajax Call.
How to select an image from mobile device and set it as the background image, using jquery mobile ?
How to select an image from mobile device and set it as the background image, using jquery mobile? I need to select an image from mobile device and set it as the background image of mobile application page.And need to save the image path in sqlite db. Can you help me? Thanks in advance.
Slide Up Slide Down at one time
I try to make slide up and slide down divs at one time. I want the first div slide down an the hidden next div slide up I would like to make these elements overlap when animated jQuery $(document).ready(function() { $('.plus').click(function() { $('header h1').animate({ 'margin-top': '999px', opacity: 'toggle' }, 1500); $('header h2').animate({ 'margin-top': '0px', opacity: 'show' }, 1200); });
JQuery sortable list - attempting to cancel a drag throws strange errors
I'm trying to create a screen where you can only drag three items from one list to another. I'd like to prevent the use starting another drag if three items already exist, but the control gives very peculiar behaviour. I'm getting a jquery-ui outerWidth exception thrown. Can anyone help me out by explaining where I'm going wrong? http://jsfiddle.net/N3KcC/ Thanks, Jason
How to put the child class to the parent?
Hello again, how i can put the child class to the parent? For example, i have this: <div class="parent"> <div class="child-one">Content of child one</div> </div> <div class="parent"> <div class="child-two">Content of child two</div> </div> <div class="parent"> <div class="child-three">Content of child three</div> </div>And I want add to the parent div the class of his child, thus: <div class="parent child-one"> <div class="child-one">Content of child one</div> </div> <div class="parent child-two">
Why Are Ajax Calls Failing?
Greetings, March 5th, 2013 My situation that may appear rather simplistic still perplexes me while I am new to Ajax. I have loaded all the appropriate JQuery Libraries and the initial index loads fine and the JQuery Doc Ready statement loads all the files on the menus. However, after I use the load statement to load a contact.html, all loads great, into a iframe div statement within index the contact.html that utilizes an Ajax pass to a php fails. Initially, I had two various contact.html's
Next Page