14,053 Topics

Member Avatar for
Member Avatar for prash21m

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 …

Member Avatar for Taywin
0
239
Member Avatar for reibi

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 …

Member Avatar for mangel.murti
0
307
Member Avatar for kazkuzzer007

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?

Member Avatar for kazkuzzer007
0
2K
Member Avatar for jonsan32

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 …

Member Avatar for <M/>
0
333
Member Avatar for kubiak

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 …

Member Avatar for Taywin
0
827
Member Avatar for vizz

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; } …

Member Avatar for imti321
0
2K
Member Avatar for man.chester.581

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

Member Avatar for JorgeM
0
205
Member Avatar for AntonyRayan

<? 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; } …

Member Avatar for Taywin
0
103
Member Avatar for AntonyRayan

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.... …

Member Avatar for Taywin
0
99
Member Avatar for anil.djragga

I need a help With this Program ,as I am getting Error in Tomcat Server While Connecting To the Web Browser .

Member Avatar for Taywin
0
67
Member Avatar for samoual

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 …

0
71
Member Avatar for jean_5
Member Avatar for ahvic4u

[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; …

Member Avatar for Taywin
0
2K
Member Avatar for jean_5

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 …

0
87
Member Avatar for matthewd673

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 …

Member Avatar for Troy III
0
70
Member Avatar for hell hansen

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 …

Member Avatar for hell hansen
0
201
Member Avatar for nadiam

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 = …

Member Avatar for nadiam
0
2K
Member Avatar for Rblalock

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 …

Member Avatar for Gregory_4
0
3K
Member Avatar for mappersas

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 …

Member Avatar for Peter_21
0
6K
Member Avatar for Danny159

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 …

Member Avatar for Danny159
0
182
Member Avatar for wballinger

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 …

Member Avatar for Shridip
0
3K
Member Avatar for Rizi004

Hello everyone i'm developing facebook app but i want when user reach at the end of the page the content auto load from database. The only problem is that how i can check that user's reach at the end of the page with in iframe. I have used auto load …

Member Avatar for Masterblank
0
228
Member Avatar for ehpratah

Hi can anyone help me find what am i doing wrong. i have an xml request that check data on db and return the result. and base on that result it will clear or highlight a textbox. its working fine using the original function but when i add another xml …

Member Avatar for pzuurveen
0
212
Member Avatar for ChungHao

My project is to create a webpage to search mobile gadgets on a website(www.mudah.my), and I want the result to be shown on my own webpage, but NOT redirecting me to www.mudah.my. May I know is that possible to do that? I've ask around and people told me that I …

Member Avatar for Masterblank
0
203
Member Avatar for owenransen

If you use JavaScript for geolocation the first time someone uses it then his browser will ask for permission to send his location to the site where your web page is. As far as I can tell Chrome (PC and Android), Explorer (PC), and native browsers in Android devices only …

Member Avatar for Masterblank
0
223
Member Avatar for Clevertech.biz

Hey guys, For all web developers out there - a new boilerplate tool allowing to rapidly build Node.JS powered API’s, online stores, and many other apps (igloos) has been made available to the public - http://eskimo.io/. It’s open source! Here you’ll find more details, components, examples and the source - …

0
66
Member Avatar for hallianonline

Hello i am trying to resize the iframe based on its content but its not working may be becuase of the cross domain here is the code i am using <script language="javascript" type="text/javascript"> function resizeIframe(obj) { obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; } </script> <iframe src="http://other_domain_name/get?v=07armilCx5A" frameborder="0" scrolling="no" id="iframe" width="100%" height="300px" …

Member Avatar for gabrielcastillo
0
143
Member Avatar for DaniWebUser_1

I'm learning vanilla JS at the moment. One of the things I'm learning how to do is make simple animations. I've made an animation where I moved a square div in a square path. I've made another where I moved a circular div diagonally downward. I've even learned how to …

Member Avatar for DaniWebUser_1
0
251
Member Avatar for owenransen

It seems to me that the Audio object can not be easily played inside a JavaScript callback when running on a mobile device. The code below shows an onload function which, on a PC, plays the sound when the web page is loaded, but on Android phones plays nothing. My …

Member Avatar for owenransen
0
313
Member Avatar for mc3330418

I'm trying to update an input value using jquery and I can't get it to do anything. I've tried .val(), .attr, .html, .text. $('#acctnum').click(function(){ var index = this.selectedIndex; var bal1 = $('#bal1').val(); var bal2 = $('#bal2').val(); var bal3 = $('#bal3').val(); var bal4 = $('#bal4').val(); if (index == 0){ $('#poamnt').val(bal1); alert …

Member Avatar for cool_zephyr
0
164

The End.