Not working on chrome android but all other browsers are fine
Good day none of my events seem to work on chrome android but is fine on all other browsers including chrome on IOS. I have been trying to figure out the problem for days it is something on the ajax post that is breaking my page if I remove it the other scripts work. kind regards Attached are my scripts <script src="https://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="https://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script> <script> $.mobile.ajaxEnabled
Récupérer les valeur d'une boucle while en php
Bonjour, Comment récupérer avec JQuery/JS la valeur d'un input type "hidden" a savoir que cet input est généré automatiquement dans une boucle while , je récupère les données dans ma base de données puis je le stocke dans ces input "hidden". while {..... echo '<a href="#" class="deleteFile" ><input type=hidden" name="'.$file.'" value="'.$file.'" class="file"></a>'; ..... } Dans le script JS $( ".deleteFile" ).click(function(){ var file = $( ".file" ).val(); alert(file);
Hide and show table based on radiobutton
Hi, I have 2 radiobuttons "yes", "no". "No" is selected as default. If "No" is selected, then a table should be hidden. If "Yes" is selected, the table should be shown. I have used the below code, but it is not working: <asp:RadioButton ID="rbGuestTravelNo" Text="No" runat="server" Checked="True" GroupName="GuestTravel" /> <asp:RadioButton ID="rbGuestTravelYes" Text="Yes" runat="server" GroupName="GuestTravel" /> <table id="tblTravelList" > <tr id="trGuestTravel" > <td colspan="4">
parseJSON throwing error
Hi, I have json data but unable to view it using parseJSON. Uncaught SyntaxError: Unexpected token o this is what I am trying: success: function(data) { var response = $.parseJSON(data); alert(response.person_id); },
Comment lire / récupérer toutes les variables d'une boucle while générée avec PHP ?
Bonjour, Je sélectionne des image dans un répertoire pour les afficher à l'aide d'une boucle while : [php] <div id="fileDisplayArea_1" class="uploadPicture">'; //Image display $dir_exist=0; $dir = $_SERVER['DOCUMENT_ROOT'].'myShop/admin/upload/tmp'; if (is_dir($dir)) { if ($Pointeur = opendir($dir)) { //echo "<p>Pointeur : ".$Pointeur."</p>"; while (($file = readdir($Pointeur)) !== false) { if ($file!="." && $file!=".." ) { //echo "<p>dossier : ".$dir."</p>"; $status = "temp"; //echo "<p>type
Menu effects
Hi, how to change class of my navigation when i scroll down. I need to change menu background color when im scrolling down trought page. Thanks in advance.
Error with json
Hi, I have this page: http://www.aromaexpressbh.com/web/subscribe.php I am trying to submit the page but getting error: SyntaxError Unexpected token 5 but the page is submitting without error if I use form action without ajax. can you help please... Thanks, Jassim
Simple Ajax test is not working
Hi guys, Could please some one help me to understand why this code is not working?: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Your Title</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')</script> </head> <body> <input type="button" value="Click me to load the content of another page via Ajax" id="myBtn"> <div id="content"></div>
how to trigger click on the image inside search bar image look like magnifying glass and it came from css
how to trigger click on the image inside search bar ,image look like magnifying glass and it came from css code//.................... <form class="left2"> <input type="text" class="form-control top-srch-input" id="search" placeholder="Enter City, Listing ID, Address "> </form> class//................. .top-srch-input { width: 320px; height: 37px; color: #2b2c30; background: #ffffffurl(../images/magnify.png) right no-repeat; border: none; padding-right: 40px; } i tried this
click on Row and call alert function
Hello, I created a table dynamically using Ajax. <div id="header_table1"> </div> $.ajax({ type: "POST", url: "functions/ajax_output.php", data: {func: "loadHeaders", uid: val, radio: radio, offset: txtoffset, limit: txtlimit}, success: function(data){ $('#header_table1').html(data); } }); Now I want to click on each row of the created table and thus should read two values from columns . These should then call a new Ajax function and reload details . I have now tried a call alert using the
Multiplication in Edit Form only working first row
Hey Guys,i'm developing form which have auto complete, add row auto and multiplication between quantity * price. I'm success insert it without bugs but after that i'm going create edit form for this and face the bugs multiplication only working in the first rows after that not working , Then trying copas insert form and put in my edit for plus value (cause it came from database) here is my edit form is succes ---------> http://jsfiddle.net/99nkbv5a/5/ and this this is my view with database only
Directing Next Page with conditions
I want to see if I can ascribe directions with conditions to a Next Page button. There's a main page ( Level 1) which has 4 groupings of clickable objects on. From one of these groupings the user selects one of 3-4 items which will each take them to a Level 2 page. I want the Next Page to take user to another of the Level 2 pages in this grouping , and back to the Level 1 page once all have been visted. The condition is that the next page can be any of the 3-4 Level 2 pages not yet vistited since
How can I visually connect divs with a line?
Hello, I'm trying to connect four divs with lines. These lines show a relationship between each Div (see image below. red boxes are divs). Each DIV will have a fixed width and height and their positions will be set using the position property. Is there a way to do this? I'd prefer to use HTML, CSS, and JQuery only. It would be a bonus if the lines can update their positions dynamically depending on the position of each div. Thank you in advance!
Need to combine next and previous buttons with keys 37 and 39...
Hello, I've been in zounds of forums and I just can't get it working.I currently have fully functioning left and right navigation buttons on my slideshow - how can I add keypress functions to them so that left and right arrow keys would do the same action?It should be simple,but I just can't get it working. My current small script with only the functioning buttons: $( document ).ready( function () { $( "#slideshow" ).css( "overflow" , "hidden" ); $( "ul#slides" ).cycle({ fx: 'fade' , pause: 6 , prev:
context menu of jstree is not displaying under jquery dialog box.
Hi, I have created jstree in jquery dialog box. But context menu for jstree is not rendering in dialog box. Is it possible to add context menu plugins to jstree in dialog box. Thanx in advance.
Autocomplete using PHP MYSQL not working
Dear Sir refer http://webvikas.net.in/marathe/Autocomplete_search_PHP_Json/autocompleteindex.php Auto complete not working PHP+ JQUERY <?php //autocompleteindex.php include_once('../includes/dbconnect.php'); $query = 'SELECT bg.name, bg.surname FROM member bg WHERE bg.name LIKE "%'.$user_input.'%"'; mysql_select_db($database_DBconnect, $DBconnect); $Result = mysql_query($query, $DBconnect) or die(mysql_error()); $rows = mysql_fetch_assoc($Result); $totalrows=mysql_num_rows($Result); echo
Need to use jquery to increment a table cell's value by 1 each time the button is clicked
Jquery newbie here. I have the following html: <table class="myTable"> <tr> <th >Name</th> <th>Age</th> </tr> <tr> <td>Joe</td> <td id="joesAge">35</td> </tr> <tr> <td>Becky</td> <td id="beckysAge">40</td>
JQUERY beginner help?
Hello all! I'm new to programming. It's a new concept to me and I'm trying to learn it. I'm struggling with a task and I would very much appreciate some help if possible! I basically have to create a page with a "Add Paragraph" button. Every time this button is clicked, another paragraph must be inserted into the content. The second part of the task is to have a text area, and once the user enters something in this text area, a box appears saying "welcome user" or something similar to that. Does
Need to find common json object in multiple arrays.
Hi I have a requirement where my deffered call gives me multiple arrays of JSON objects and i want to display only the common objects present in all arrays.I did some code in JSFiddle and its working only for 2 arrays but i want to work for all arrays as i am getting dynamic no of arrays. My code below : var array1 = [ { tagId: 1, tagName: 'tag 1' }, { tagId: 2, tagName: 'tag 2' }, { tagId: 3, tagName: 'tag 3' },
Keeping epanded Treemenu open
Hi, I think this question has been asked before but I can't work out from other answers how to make mine work from it. I know next to nothing about Jquery but have the below script on an ASP.NET MVC 5 _Layout page <script> $(document).ready(function () { $(".treeview li>ul").css('display', 'none'); // Hide all 2-level ul $(".collapsible").click(function (e) { e.preventDefault(); $(this).toggleClass("collapse expand");
Jquery interfering with menu function
I designed my site using a Bootstrap One-Page template. Loved the functions, but I wanted to build it so the site will jump to pages rather than scroll down within one page. It's up and built, but the Menu doesn't link. If I remove the <script src="js/jquery-1.10.2.min.js"></script> file my menu works perfect but my galleries no longer work. Does anyone have a fix for this? I'm new to Jquery and at a bit of a loss. I love the site as is, so if i can just get that menu to work that would be
Checkbox filter
Hi guys. I have a simple HTML table that I would like to filter with checkboxes. Here is my example: http://jsfiddle.net/51wwnyeg/1/. As you can see, if you click on the checkbox, it filters the table and only shows rows with city you clicked on. But my problem is, it only works with one checkbox checked, if I check multiple it doesn't work. Any ideas? Thanks!
light box and equalize size is not working simultaneously
Dear All refer http://webvikas.net.in/spacerite/gallery.php Lightbox popup working fine but , following JQUERY code at the bottom of the php code does not work In short code to equalize height doesnot work with light box pls help script type="text/javascript"> $(document).ready(function() { alert("XX"); // i had kept this alert to check whether this part of jquery is executed $.fn.delay = function(time, callback){ // Empty function: jQuery.fx.step.delay = function(){}; // Return meaningless
getting scroll effect code from website.
hey guys check out this website and try scrolling the box , scroll effect i don't know what that effect is called but the pictures changes after you scroll a bit . i checked the resources and i saw functions.js and general.js , can somebody tell me what js files will i have to refer to get that scrolling effect ? ofcource i will need Jquery , but what other js file will i have to refer from there to get the scrollling effect ? thank you . gautam.
Autocomplete not getting closed on clicking on frames
HI, I have my page with many frames and I wanna my autocompleter to close when i click anywhere in the page regardless of frame containing the autocompleter. Please suggest how to bind a close event for all the frames.
load coarousel dynamically
hi to all i want a carousel to lode the data from a database(mysql)?
document.addEventListene
I have the following statement document.addEventListener('mousemove', function(e){...}); It works fine. Now I want to target only elements with 'dv' tag. Can someone tell how to modify? Regards I.Sher
In a checkerboard example where does the (droppable) class come from
Checkers I have been exploring an example in which a checkboard was built. At the beginning of the script I noted the statement: $('.checkerboard tr:nth-of-type(even) td:nth-of-type(odd), .checkerboard tr:nth-of-type(odd) td:nth-of-type(even)').addClass('droppable'); My question is: in the addClass method, where does the droppable class come from... there is no reference to it in the program that I am including below... Also how the piece $('.checkerboard tr:nth-of-type(even) td:nth-of-type(odd)
Problem with cycle when hosting.
Hi, I have successfully hosted my portfolio on GoDaddy(http://www.albinekman.se). Everything works perfectly except one thing. I can't see the pictures that are inside the cycle plugin. I guess there's something wrong with the script. I should also say that the cycle works excellent in "preview mode" in Dreamweaver. I also read this thread, but that was not the problem for me. What do you think?
Call apache axis webservice using jquery
Hi , I have tried the following . Please go through this and give me the solution ASAP http://evothings.com/forum/viewtopic.php?f=8&t=1407
Table pagination using jquery example
Can any one help me out to implement table pagination using jquery.Please dont give examples using extra plugins. Thanks
Stuck with a jquery table
Hello, I am new on this forum because I am stuck with a jquery situation. In particular, I am finalizing my website, which sells clothing. In the product page (linked with a jquery page) a client can insert his measurements and save them. Right now they are saved through cookies, therefore when hypothetically he rejoins the website, after having saved the measurements, it appears the profile saved. The problem is that the profile saved is not linked with the profile of the account. Therefore when
Calendar function is not working with jquery clone function
I am really new to jquery. Below is the working example of add new rows when a button clicks. Each row contain Start Date and End Date. I can see the date picker in the first row. But when I add a new row I can't see the date picker. How can I fix this? <link href="styles.css" rel="stylesheet" /> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
jquery date picker
The Jquery datepicker has suddenly stopped working for me.I have used the latest version also..tried all means..created a sample application still not working.Can someone help <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Datepicker - Default functionality</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<link
verify in chrome that jQuery UI is loded
I want to use jQuery UI. Specifically I want to use the grab method. How can I verify in chrome that its loded? Regards I. Sher
whenever i put uppercase() method it displays an Error
<script type="text/javascript"> (function() { $('button').click(function() { var tt = $(this).text().toUppercase(); console.log(tt); $('link').attr('href', tt + '.css'); }); })(); </script> this is the display on the console Uncaught TypeError: undefined is not a function
is something wrong with my code?
i have two weeks of learning experience jQuery, what is wrong this code? it keeps displaying this on Console [button, context: button, jquery: "1.11.2", constructor: function, selector: "", toArray: function…]0: buttoncontext: buttonlength: 1__proto__: m[0] this is the actual code <!DOCTYPE html> <html> <head> <title>jQuery Event</title> <link rel="stylesheet" href="day.css"> </head> <body> <h1>my website</h1> <button>day</button> <button>night</button> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
center div not happening
Dear All http://webvikas.net.in/marathe/kuladevata.php Click on the sqaure box displays a div in pop displays the required data in popup. if we scroll down to bottom of the page, and click on the square, a pop up window appears but not exactly in center of window. please help
On mouseout from float div hide but not from the main div
Hi, i am baby to jquery, this is my first try. I want when the user mouseout from a drop menu to hide. I have made it to a point but the menu disappears when it is out of the main div not the new one appearing. Here is the html <div class="notifications"> <button class="btn btn-primary" type="button"> Notifications <span class="badge">2</span> </button> <div class="messages"> <a href="#" class="message">This is a message</a> <a href="#" class="message">This is a message</a> </div>
javascript quiz
I am new to javascript but am trying to incorporate an interactive self grading quiz in my website I recently saw th following code as a way of implementing it but I don't quite understand how it works; < style type="text/css"> < !-- .bgclr {background-color: white; color: black; font-weight: bold;} --> < /style> < script language="JavaScript"> < !-- Begin // Insert number of questions var numQues = 4; // Insert number of choices in each question var numChoi = 3; // Insert number of questions displayed
Next Page