15,688 Topics
![]() | |
Hello. I am working on wordpress **plugin.php** file Add one sub menu and working on but when i call ajax function but its not given proper output. <script> jQuery(document).ready(function() { jQuery(".downloadpdf").click(function () { var goat_id = jQuery(this).attr('id'); //Alert got id e.g 218 jQuery.ajax({ type: "POST", url: "<?php echo admin_url( 'admin-ajax.php' … | |
Hi, I build websites using five basic languages. html, css, js, php, and mysql. I have build a lot of websites, but my problem is that everytime I start a new project I start with a blank page. It's time consuming. I wonder if any of you guys have a … | |
hi there, I need help on replacing url parameter, I am using Zeroclipboard script on my page. When someone click on any coupon code then a new window open with the same page and code can be copied from popup. I have these codes on my page : <div class="btn … | |
Hello everyone, I was looking for a code like to store iframe's id in javascript's variable inside different divs. <div id="player"> <iframe id="SAR7KmiCHto" width="560" height="315" src="http://www.youtube.com/embed/SAR7KmiCHto?enablejsapi=1" frameborder="0" allowfullscreen></iframe> </div> <div id="player2"> <iframe width="560" height="315" src="//www.youtube.com/embed/9P9JSgZwrjc" frameborder="0" allowfullscreen id="9P9JSgZwrjc"></iframe> </div> In above code there are two div ids i.e player and … | |
excuse me, I want to make an application 8 puzzle with a algorithm such as the following video http://www.yourepeat.com/watch/?v=LkRuKHwElbk is there anything that can teach me? | |
I have 32 different iframe url's I want displayed to the right of a set of input selections. The first is BOYS or GIRLS, and the second is their GRADE. Depending on the combo, I'd like to pull up the corresponding iframe to the right of it. How would I … | |
Hi, I am new to web development so please bear with me, i am looking to create statistic calculators like f test etc. In order to do that, i need to provide input fields to enter multiple numbers in input area along with providing ability to copy paste data from … | |
![]() | Hi, I am new at angularjs. I use angualarjs ui boostrap modal and i need to show the uibreadcrumb in the modal. I am working on file browsing. I don't see breadcrumb in the modal. Console give me this: **Uncaught Error: [$injector:nomod] Module 'myApp' is not available! You either misspelled … |
WebSocket is working well for **ws://echo.websocket.org/** but not working on **localhost** I have working example, where WebSocket works for **ws://echo.websocket.org/** As follows, <!DOCTYPE HTML> <html lang = "en"> <head> <title>WebSocket Test</title> <meta charset = "UTF-8" /> <style type = "text/css"> h1 { text-align: center; } .error { color: red; } … | |
Hello everyone, I have a page written in HTML5 which atuomatically resizes the page when used on different devices. I also have a menu which goes from a drop down menu in desktop mode to a sort of pull down menu in mobile mode. This video pop-up works in desktop … | |
i need code shows how can i send information from html page to an email on submit directly with out opening the email broweser or any external url | |
hey, im working on a site on drupal with a theme, i have the main page with slider, i created a new page and i want to use some jquery there, but i search on internet they said that add scripts[] = jquery.js into you them file, the problem when … | |
<? include('connect.php'); ?> <!DOCTYPE html> <html> <head> <script> function showCustomer(str) {alert("dfertvgrevbtr"); var xmlhttp; if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } … | |
Hi, I dont know how to check password availabilty from mysql database, Can anyone tell me about with simple and brief explanation in php. if the password is already in db, it should show password is match otherwise password do not match . This should show in the field itself.... … | |
I need a help With this Program ,as I am getting Error in Tomcat Server While Connecting To the Web Browser . | |
Hello, I would create Login page. which - separate Php for random username password generator - this is just a dummy login with random username and password generator. No database required. - e.g like http://www.surgaliga.com/ **Need:** Is they any script that random suggest detail of login and password after given … | |
I need to sort items from multiple columns. I use this to get the id from the columns and format the data: $.fn.serial = function() { var array = []; var $elem = $(this); $elem.each(function(i) { var id = this.id; $(move_selector, this).each(function(e) { array.push( 'id[]=' + this.id ); }); }); … | |
Hi iam i have web app to get from data from webservice , in the text box you will search for name you will get the name and the ID i wanna get the ID and pass it to other function to get the Name detail . here is my … | |
What is the main Difference between var $name and var name? | |
[CODE]<html> <style> #playingArea { position: absolute; top: 1; left: 1; border: 5px solid black; width: 750; height: 720; z-index: 2; } #basket { position: absolute; top: 650; left: 228; width: 64; height: 16; } </style> <script type="text/javascript" language="Javascript"> var basket; var basketLeft = 228; function keyListener(e) { e = window.event; … | |
I already have a datepicker to get the start date and the final date, it already makes the validation when the user clicks only on the calendar, but when it's typed, it's not validated. So, i thought something like this: datePickerRange: function () { if ($(this).length != 2) return; var … | |
![]() | I've been using the Ace editor for a little while but for some reason the solution that their website gives for changing the editor's theme won't work. I've Google the problem a few times and haven't found much. Here's my code so far: `var editor = ace.edit("editor");` `editor.setTheme("path/to/css");` I have … |
Hi guys, i want to populate a drop down list with ajax, and so when i select the first option thesecond one select must be populated in table like if shoose <select><option>value one</option> <option>value two</option></select> was supoose be populated the second value in another select, but i want be populated … | |
Hi. this us what Im doing and its not working: test.php $(rclone).on("click", function(){ var event_id = $("#event").val(); var euser_id = $("#userid").val(); $.ajax({ type: "POST", url: "InputNames.php", data: "event_id="+event_id+"&euser_id="+euser_id, success: function(data){ var form = $("#input-names").html(); $(".form-inputs").html(form); } }); }); InputName.php: <?php $id = $_POST['event_id']; $userid = $_POST['euser_id']; require "connection.php"; $get = … | |
Hi guys I have no idea how to go about this but I would like to create a form that displays results in the text area . For example if a user fills up his/her details on the form and clicks the submit button , his/her information would be displayed … ![]() | |
Hello, I'm new to the DaniWeb community and I am in need of some serious help. I am taking a web design class, but the teacher I currently have now has no idea what he is doing; he is an Info Tech teacher, but we have two classes at the … | |
I could use some assistance My final project in a python class is to calculate the distance between 2 lat/long points. My code is really just managing the input & output portions, while using existing code (properly credited) in a function to do the actual calculations. I've got it working … | |
Hi, I have a field that a user add's a curreny value to, on keyup I fire a Javascript function that checks the following but its not working at all... What I want it to do is... user add's say 10 On keyup the Javascript needs to add .00 to … | |
I've been trying out the HTML5 <canvas> element, and cannot get it to work. here is my code: [CODE] <html> <head> <script type="text/javascript" > var canvas=document.getElementById("canvas"); var context=canvas.getContext('2d') context.fillRect(100,100,300,300); </script> </head> <body> <canvas width="500" height="500" id="canvas" /> </body> </html> [/CODE] The canvas is there (I confirmed this), but nothing is … | |
I need to do a calculator and assume I have to click button to insert number to display box. For example click 3 and 2 the inputbox display 32 than i need to click "+" button. The add button is to remove the previous number and store it so that … |
The End.