Problem with getting visual to work
Ok at first, I am new to this so bear with me. I have this page that displays data in a simple list. Nothing strange really. On each row there is an edit button to which when you click on it triggers a javascript that turns all the fields that are to be able to be edited on that row to edit mode: $(x).children(':lt(8)').each(function (i, e) { if (i == 2) { // The selection of authentication var html = $('<select>' + authlevelList.map(function (e) { return '<option
JQuery download plugin, save file without renaming filename
Hi: I have a web page with list of file names. Any file can be saved multiple times by user. Base on the browser, an extension typically gets added to filename, like abc_1.pdf, abc_2.pdf, or abc[1].pdf, abc[2].pdf. Is there any way to automatically overwrite the older file. thanks Shahab
I'm having problems with data-overlay-theme
When I open the popup overlay does not work fully. What is happening? My phone is a Galaxy III.
Problem with tool tip
Hi Geniuses! I have problems with "tool tip". Project: http://codepen.io/anon/pen/KzDjB Function: $(function() { $( document ).tooltip({ position: { my: "center bottom-20", at: "center top", using: function( position, feedback ) { $( this ).css( position ); $( "<div>" ) .addClass( "arrow" ) .addClass( feedback.vertical ) .addClass( feedback.horizontal ) .appendTo( this ); } }
How to get value from drop down select box
I am trying to get the value of a selected option in a drop down box with jquery. The problem is, I have one after another selection boxes. When the user selects the first one, it shows the second, when selected the second the user chooses the third. When the third appears, lets say that the user changed his mind about the first one. How can I make it reappear the second one, dissapearing the third and getting the first one new value (getting values in php)? Please help with a very simple example!
ajax php server side code
I read jQuery document regarding ajax. It says that I need pass a server side php file to ajax. If this is the case then I need one php file for one ajax function. Is it possible to pass a php file and function to ajax then I have have a couple functions in the same php file. like the following example, $.ajax( "example.php?Method=Myfunction"&MyParam) or I have to use $.ajax("example.php") Your information and help is great appreciated, regards, iccsi,
swapping login with logout
this code will display a login popup when you click on sign in menu: <!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>Untitled Document</title> </head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <style> #mask { display: none; background:
How can I show my jquery alert from within a child view?
Hi, I have a javascript inside a partial view that sits in a parent view. There is a submit button on the partial view that when clicked I would like to fire an alert. <script type="text/javascript"> $(function () { var selectedName = $("#selectaname"); $("#sendMail").click(function () { if (selectedName.val() == "someValue") { alert("You need to select the correct name"); return false; } });
Help Jquery Mobile, Phonegap build and PHP MyAdmin
Hi guys, I am quite new to programming and mobile development and I came across an issue which I can’t resolve. Right now I am creating an image gallery app where people can share their comments on the images. So how can I integrate a PHP MyAdmin database into my JQuery Mobile app and still able to use Phonegap build to create my app? Many thanks.
how to load an external page (or force non-ajax reload)?
I try to let users click on the title bar (the middle portion) and force a reload of the page. so on the title bar <h1 onclick="$.mobile.pageContainer.pagecontainer("change", "index.php",{allowSamePageTransition:true, changeHash:true, data:null,
how to make a split icon dark (theme-b) while the split is light (theme a)?
Hi: For a listview, I can add a second link to make a split button. In version 1.3.2, if i do <ul data-role="listview" data-theme="d" data-inset="false" data-split-icon="gear" data-split-theme="a"></ul> here theme "a" is dark, theme "d" is light, the icon is black on a white button. but in version 1.4.2, it does not work, either both the split button and the icon are black, or both are light color. I have tried various ways, such as make the icon and button both dark with data-split-theme="b" and
Bind image button click
I have an image button and i am trying to bind click event to a function. I have tried binding it using its id: $("#imgBtn").click(function () { alert('Img btn clicked'); }); and $("#imgBtn").live('click',function () { alert('Img btn clicked'); }); and $(document).ready(function () { $("#imgBtn").click(function () { alert('Img btn clicked'); }); But am not able to achieve this.
Jtable DateTime picker in mvc 4 .net
Hi, I am using Jtable in MVC4 .net , Could you please help me how to plugin Datetime picker in jtable while insert and edit row . Thanks, Murali.
Is it possible to go back to specified page id in jQuery mobile?
Suppose I have 4 pages with this page IDs: pageA -> pageB -> pageC -> pageD There can be an event in pageC and pageD that can make the application go back to pageB, the problem is that depending on the page I'm currently at I should call history.go(-N) where N is the number of pages that I should go back. For example if I am in pageD I should call history.go(-2), in case of pageC history.go(-1) to keep history consistently. How would you do that in jQuery Mobile so that history would contain: pageA
Cache my application
Hello everybody, I've got a question and I didn't find anything with google, so I would need your help I would like to cache my application, which contains a google maps iframe and a list of news, retrieved by RSS, to keep these informations for an offline use. I read many tutorials about creation of a manifest and changing the .htaccess file, but in the case of my mobile application, I don't need any server so I don't have a .htaccess file. So I thought about javascript localstorage, it's nice for
Sortable & Droppable JQuery Bootstrap 3.0 Navigation
Hi am trying to create a navigation menu with bootstrap 3.0 that has sortable "Tabs" which is working. What I am trying to implement is the ability to drag the sortable "Tabs" into the "drop down" menu and back again which also contains sortable list items. Can anyone tell me how to do this? I have created a Fiddle here: http://jsfiddle.net/nkBNP/48/ to try and explain a little better. I hope someone can help me! If someone can help me get this working by editing me fiddle, I will send a donation
How to make menu equal android's menubutton ?
How to make this ? Plugin ? I dont know to make with popup position
How to use "swiper" methods and functions outside the "swiper" main initialization function ?
Hey, i just wanted to integrate a simple "stop" button for my slider, on my site. Sadly i don't know how to use the given methods outside of the "swiper" main initialization function. For example: For now i tried to assign the "interactivebutton" to stop the autolooping slider "on.click" So i just added the mySwiper.stopAutoplay() method inside my buttons function brackets. But it doesn't even remotely react. Do i have to somehow transfer the mainfunctions response into the buttons function ? Does
jQuerry Mobile Panel Error
I am implementing jquery mobile panel into my site. All works fine until I decide to visit the same page twice, then the panel icon (data-icon="bars") does not open the panel. It does not respond. It works when I manually reload the page. I believe it has sth to do with the cache or ajax :-( Please help. Recap: 1. I tap the panel icon & it opens side panel. I go from page_a to page_b. Next, I go back to page_a and try to go back to page_b again (data-icon="bars") does not respond any more. I need
Getting Current Page Problem
Sorry Guys, but i really have a problem with understanding how i can get access to the current page. I want JQM to change a style by clicking an element. (clicking ALWAYS the element in the ACTIVE PAGE, cause i am not interested in previous or next pages) First of all i fire this: $(document).on("pagecontainershow", function() { loadClickEvent(); }); So, this should load the Click event on every page that occurs... This is the related function: function loadClickEvent() { // only way
RSS Thumbnail code
Hi With respect to the following code.Jquery mobile rss feed and Thumbnail how do I add? Rss feedlist how do I make a horizontal listview? help me, Thanks <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" /> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script> <script type="text/javascript" src="http://www.google.com/jsapi" ></script>
Duplicate value parameter
Hi. I'am using JQuery Mobile and have one problem now. I'am use this code: <div class="button" <input type="submit" value="sign in" /> </div> But browser generate this code: <div class="button"> sign in <input type="submit" value="sign in" /> </div> Where does the extra inline text sign in?
problem using global var
Hello, my problem is more a javascript problem but you helped me well until today so I would like to submit it to you : I've got this function (it is with the network information plugin of cordova) : function onDeviceReady() { conn = checkConnection(); test= 3; } and in another script (used later in the html page), I just wrote alert(test); and the result is "undefined". I saw on many javascript tutorials that declaring a variable
Create a "Popup" jQuery Plugin
I am looking for creating my own popup dialog jQuery plugin (I know this looks stupid, but please, go ahead reading). I have read more about creating plugin in jQuery in their documentation and I've already written something but I realized that I don't know my directions. I mean should I have something like: <div class="popup" id="myWindow">This is some of its contents</div> <script> $("#myWindow").popup({/* options */}, { ok: "Ok", cancel: "Cancel" /* buttons */ }); </script> or should I go for
Mobile horizontal RSS
Horizontal RSS feed and thumbnail jquery mobile? Examples: BBC, as in iOS applications
How to assign click event in <img> using JQuery
Hi to All.. I'm new in JQuery.. and I'm having a hard time with this JQuery Slider Plugin BASIC JQUERY SLIDER My question is.. how can I assign those navigation thumbnail numbers in <img> onClick.. (see sample image below) THANK YOU IN ADVANCE!! To be simple is to be Great
my sidr menu is working fine but a little slow, it is possible make it smoother? (browser reflow)
Hi, Im using sidr slider for a slider left menu. I already have the menu working fine, but it is a bit slow on mobile devices, Im searching if it is possible turn this plugin smoother, but I´m not finding that information. I read that using jquery functions for animate menus, causes something called "browser reflow" on mobile devices, and I think that is what is happening with my sidr menu on my mobile. Do you know if it is possible solve this problem using sidr plugin? If it isn´t possible, do
Buttons do not work inside my "swiper" slider. Am i missing something basic ?
Hi I recently tried to use the "swiper" slider by iDangerous. Everything worked fine until i tried to move my interactive button on one of the slides itself. Here is a short version of my first try out of the "swiper". 1. In this version everything worked perfectly fine.(Because the button is placed outside the slides) 2. In this version of the site the interactive button doesn't behave correctly. It jumps to the next slide and displays NO alert.(So basicaly it doesn't do what it's supposed to do)
Light Box for Subscriber Pop-up in Safari
We are using a lightbox that comes up at http://www.mightytravels.com/ . It works just fine in FF/Chrome but in Safari it blacks out the visible screen and users can't see the box to subscribe...
how can i shorten the following ?
how can i shorten the following $( "#dialog" ).dialog({ autoOpen: false }); $( "#opener" ).click(function() { $( "#dialog" ).dialog( "open" ); }); $( "#dialog" ).dialog( "option", "width", 500 ); $( "#dialog" ).dialog( "option", "height", 400 ); $( "#dialog2" ).dialog({ autoOpen: false }); $( "#opener2" ).click(function() { $( "#dialog2" ).dialog( "open" ); }); $( "#dialog2" ).dialog( "option", "width", 500 ); $( "#dialog2" ).dialog( "option", "height", 400 ); $( "#dialog3" ).dialog({ autoOpen:
How can I access elements from a response script ?
Hello I go a situation here, I want to call a ajax after getting result of first ajax. Please see my code. here it is validating form correctly but when submit it is not working the ajax submission and after submission grid reload. jQuery(document).ready(function(){ jQuery("#form").validate({ rules: { data: "required", desc: "required", cost: "required", price: "required", qty: "required" }, messages: { data: "<?php echo $this->lang->line('field_reuired'); ?>", desc: "<?php echo $this->lang->line('field_reuired');
JQUERY performance impact on PLT
Does anyone have data on JQUERY's impact on PLT? Specifically around library load times. How many miliseconds does it take to load?
Autocomplete 1.8.16 neurotic behavior
Hi everyone. In my company we are using jQuery UI Autocomplete 1.8.16 on one of our projects. We have a client where we grab the data from the database, but it takes a little bit longer than it should, around 310, 320 milliseconds. Of course, user is able to type faster than that. It creates the situation where the input text is being deleted and rewritten. One of the problems is, of course, the server side which works slower, but we can make it faster, and most likely we will. The second problem
Form processing onClick isn't being activated if I come from another page with jQuery Mobile
Hey all! I'm creating a website that uses lots of forms and jQuery Mobile. I'm having a problem where if I'm on a page with jQuery Mobile and I go to another page with jQuery Mobile, then on the page that I go to my form isn't being processed onClick. In this post I'm going to be talking about two pages, Reports.php and DataManipulation.php. By the way if I refer to files or ids or classes that aren't in this post, be sure that I have them because I do, I just wanted to keep this post shorter. Can
Icons are not visible on Mobile site updated to 1.4.2
Hi, I updated my old theme and site from earlier version to 1.4.2. It seems to have worked well, except for the icons. I am viewing the site on iPhone running iOS7.., but they are not showing up when using a desktop browser as well. upgraded mobile site Suggestions are helpful. I have read a couple of posts, and I believe I am loading the files in the proper order... but I could be wrong... Thank you.
Jquery Slider Problem
I cannot get my jquery flexislider to show up. What is wrong with my code? My site
Jquery plugin problem
Hi there, I'm using a jquery plugin, but when I use it twice, it won't work. More than 4 hours between stackoverflow, jquery : how to create your own plugin..., to comprehend the $.fn, but no result this is the plugin source: http://www.inserthtml.com/2013/01/scroll-pagination/ and this is my usage: first call is allright var target='../ajaxScrollFav.php'; $('#favRes').scrollPagination({ nop : 5, offset : 0, error : '<div class="alert alert-info"><center>Il n\'ya pas des données.</center></div>'
Having an issue trying to devellop sidebar navigation
Hi, I´m trying to understand how to do a navigation side bar for mobile and tablet devices. I found a tutorial that explains how to do a basic one, and I did everything like the author of the tutorial but its not working fine with me. Somebody there see something wrong in the code? My fiddle with the issue: http://jsfiddle.net/ritz/th46k/1/ Html: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <nav id="menu-containerr"> <div id="menu"> <ul>
Cycle before event
Hi, I am trying to get the currently displayed item id using the Cycle before event, Code follows - $('#slideshow1').cycle( { fx: 'curtainX', easing: 'easeOutBack', delay: -4000, next: '#Button1Next', prev: '#Button1Prev', before: getCurrent }); function getCurrent(currSlideElement, nextSlideElement, options, forwardFlag) {
Im new with Java and Jquery and im just getting my foot in the door with coding...
I recently made animations in adobe animate edge and when publish to retrieve a static HTML code and go and open the file an error message pops up "error" JQuery is undefined Code 800A1391 Source Microsoft Jscript runtime error. Ive been dealing with this problem for a long time ive referred to multiple blogs.. youtube.. and still have not found a solution. Is there anyone who has an idea of how I can fix this? Thank you
Next Page