15,121 Topics
| |
Good Day All i am opening a Popup and i want to bind the "onbeforeunload" to the popup that if someone clicks on the close button in the window or close button in the page , the event should fire a javascript function that is on the page that opened … | |
Hello, I am able to add one item into the basket. But, I was told that using Javascript I can add more items. Can you please help me? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); echo "<table … | |
I am working on a Google Map api3, I am adding points on the map and save it to my database this part is working fine now in the end of adding the map and click on save and close I need to redirect to another page which will tell … | |
I have a form for member registrations that after submitting it, it takes some seconds to a minute depending on inteernet link. during these period, The browser just spins but I want this spinning be acompanied with a message like 'please wait while we process...'. How can I do it? | |
Hello everyone, I am trying to get a code that will check the length of the a 'key' that will be generated in xxxxx-xxxxx-xxxxx-xx format. I need it to verify that it meets the requirements. I do not need it to validate on the server, but i do need it … | |
I have a problem with a script. i want to be able to create events and then to be shown with ajax this is the javascript/ajax $(".event_button").click(function() { $("#flash").show(); $("#flash").fadeIn(400).html('Loading Update...'); $.ajax( { type: "POST", url: "message_ajax.php", data: dataString, cache: false, success: function(html) { $("#flash").fadeOut('slow'); $("#content").prepend(html); $("#event_title").val('').focus().css("height", "40px"); $('#preview_event').html(''); $('#eventvalues').val(''); … | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <style type="text/css"> .bs-example{ margin: 20px; } </style> </head> <body> <div class="bs-example"> <!-- Button HTML (to Trigger Modal) --> <a href="#myModal" class="btn btn-lg btn-primary" data-toggle="modal">Login</a> <!-- Modal HTML --> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <div … | |
how to pass javascript variable value to jsp variable??? ex: <script> var name="balaji"; </script> <% String name1 = name (i need to store java script name value here.) %> | |
i want print the iframe contents using javascript can u help me | |
Hi there I'm having a problem uploading my file with a progressbar. the problems are 1. i cannot upload any photos at all 2. i cannot find/promt errors **here is my full codes:** this is for php <?php if(!empty($_FILES['file'])){ foreach ($_FILES['file']['name'] as $key => $value) { $file = $_FILES['file']['name']; $allowed … | |
I use chatting (JQuery AJAX), then i reload it every 1 second.. In ONE HTML page.. my chat worl fine, but unfortunately this reload system also reload all part of my page (expecially using ajax..) Can you tell me how to fix it? or may be i have to make … | |
[This is theoretical at this point - No code is written for this] On the project I am building (A forum of sorts) I will be the Admin: I will be the only person able to edit posts. Even the User, save for a 15-minute window (after posting), will **not** … | |
Hi, why is my #div not [hiding](http://jsfiddle.net/WildWind/Lcx78/) when it's clicked, maybe placing it within a document.ready function wasn't needed ? | |
Hi guys, I would need to create a form where by it will be using within a department for reading and writing of data into database. N in our department we do not have any internet access at all, from what i know we need to have a web server … | |
I am trying to use PHP with Google map JavaScript this is my JavaScript code I have with the PHP the file name is face.php <?php if(isset($_GET['p'])){$p=$_GET['p'];} ?> <!DOCTYPE html > <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Property Map</title> <link rel="stylesheet" href="../../../../css/960.css" type="text/css" media="screen" charset="utf-8" /> … | |
Hi, On copy event, i need to display confirm dialog (we use fancybox dialogs in all project) and depending on user choice add some text (reference) to the copied text or leave the text as it is. And the problem is that - when dialog appears copy function continues to … | |
I'm creating a chat system and the problem is that when testing with two users, the secound user (entering the system) can see the first user (already loged in), but the first user will never see the next user(s) entering the system. I know that the problem comes from the … | |
Hi All Kindly of a problem I'm facing. Using Ember Media Manager, I exported my list of movies in custom template. The template is amazing shows exactly what a viewer would like to see on my collection. Now I have friends who are asking to place a checkbox next to … | |
Hi I am looking to create a personalised web page, based on the web address I am going to give somebody. So say I have the web address beanburger.co.uk and was going to send you an email and your name was barbara I would give you the url beanburger.co.uk?name=Barbara (or … | |
Okay, here's the deal. I have 3 webpages - the first one is a login page with two inputs (for username and password) and a submit button, the 2nd one is a page that requests from the server a list of users, and then displays them on the page, the … | |
I created Rotation map like http://explore.glacierworks.org/en/#trek but it's have a problem in rotation. while rotating labels is not in correact possition.. this is [jsfiddle](http://jsfiddle.net/6738v/2/) sorry for bad english.. help me to solve this thank you | |
Hi all, I have a small silly issue which i'm embarrassed I cant solve... I have a function which loops every second to see if a status has changed. When the status changes, I want it to call a phonegap 'beep' notification. The issue is it keeps calling the beep … | |
Hello, long time no ask I have this problem... seems to work fine if i put it like this function cerrarTimeout() { setTimeout("cerrar()",1400); } But i want to pass a variable to cerrar() and it wont work like this function cerrarTimeout(id) { setTimeout(cerrar(id),1400); } nor like this function cerrarTimeout(id) { … | |
Hello, i want my users to be able to create events and the event to be shown on their wall. I have this that shows a photo that they upload. <div id="imageupload" class="border"> <form id="imageform" method="post" enctype="multipart/form-data" action='message_image_ajax.php'> <div id='preview'> </div> <div id='imageloadstatus'> <img src='<?php echo $base_url;?>wall_icons/ajaxloader.gif'/> Uploading please wait … | |
Hi , I just want to know,is it possible to assign the javascript array variables to the php array variables. I am new to php ,so please can anyone explain me. | |
http://ibiz-arabia.com/register.php is not validating validation. I am using javascript validation but working. | |
apply css class onmouseover and remove onmouseout using javascript | |
How to hide onmouseover status of an anchor tag When we mouseover on edit link we get some link like this index.php?editid=1; so how to hide this on mouseover | |
Hi everyone. I wondered whether you could help me. Basically i have a list of items in a table. Each item will have a hyperlink on it and i would like it to change the contents of an iframe i have on the page - which i guess means changing … | |
How to disable typing in datepicker field |
The End.