15,694 Topics
![]() | |
Hi,I am using dhtml goodies js file for drag and drop.i have to pass sourceid for the function in js file. addSource : function(sourceId,slideBackAfterDrop,xAxis,yAxis,dragOnlyWithinElId,functionToCallOnDrag) { if(!functionToCallOnDrag)functionToCallOnDrag=false; if(!this.dragDropSourcesArray)this.dragDropSourcesArray = new Array(); if(!document.getElementById(sourceId))alert('The source element with id ' + sourceId + ' does not exists'); var obj = document.getElementById(sourceId); if(xAxis!==false)xAxis = true; … | |
I have the following code if (list.Date[0] != 'undefined') { for (var i in list) { var date = list[i].Data; var year = date.substr(0, 4); var month = date.substr(5, 2); var day = date.substr(8, 2); var newDate = day + "/" + month + "/" + year + " " … | |
hello. so im really noob at canvas and kinetic js as im just only learning it. i want to create a floor plan thing for this site where a user can choose 6 seater round table or 8 seater rectangle table or doorways things like that. and i thought i … | |
Hi everybody, I need to save same data to a .txt file (using javascript). Please see this example of clicking in an image and get the coordinates ([Click Here](http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/)). The coordinates appear on the bottom of the image. What I need is to save this information (x and y coordinates) … | |
I have an html table with six rows and two columns. I have what it is supposed to look like [URL="http://wordpress.thelandman.org/test.html"]here[/URL]. But, what is really confusing me is that with the exact same source code snippet inside wordpress [URL="http://wordpress.thelandman.org/buying/"]here[/URL] is not displaying the same output, the image does not span … | |
Hello everyone i have a google blog and we post many pages in my blog. and we add a div like <div id='header'> . the header div show all of the pages but i want to show my header only main page. 'www.myblogsite.blogspot.com/' and hide all of other pages using … | |
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 = … |
The End.