15,121 Topics
| |
with a little research a come up with my script in creating a canvas that would look like this. ![54d736fd19df9f8ac8a05733938b3e59](/attachments/small/2/54d736fd19df9f8ac8a05733938b3e59.png "align-right") it has a multiple link one link per circle. function binTree(aData, source, baseLink){ var canvas = document.getElementById(source), c = canvas.getContext("2d"); c.translate(0.5,0.5); c.fillStyle = "#ffffff"; c.fillRect(0, 0, canvas.width, canvas.height); c.strokeStyle … | |
i want if user select one value in combo box that value should store in db and then display what they are selected. for example if user select CONFIRM option that value stored in db after that it display CONFIRM instead of that combo box form and button. Here i … | |
Hi there, my simple page in asp.net with ajax does not work... and i don't understand why... I have a button where i applied an ConfirmButtonExtender I have a textbox where i applied an calendarextender but if i run the page this simple ajax does not work... I guess i … | |
By the following code i got image as the responce. if (http.readyState == 4 && http.status == 200) { ver image=http.responseText; } actually when i gave a call to server using ajax the server responded with an image. so now i have stored the image in a variable "image". I … | |
This chat sound notification script works on Internet Explorer, Safari and google chrome. But does not work on mozila firefox. can someone help me to fix that or an alternative that can work in all browsers <html><head></head> <script type="text/javascript"> var soundObject = null; function PlaySound() { if (soundObject != null) … | |
Hi! my first time here. i'm new to programming. I have a code which checks if a .txt and .jpg file exist in the same folder.(*this part is working well*) after checking it needs to display the value of .txt file and the .jpg file inside a modal popup. (*in … | |
how to Pass data from one form to another page/form using javascript... | |
I'm working to script that show smartphone spec list. Now I need to filter result using a sidebar with different checkbox: ex. Brand, Camera, OS, ecc. Users using this checkboxes can show best smartphone that have this spec. I have an xml like this: <rss version="2.0"> <channel> <item> <marca>Samsung</marca> <modello>Galaxy … | |
<html> <head> <title> Log in </title> <style> body { width: 1000px; margin: 0 auto; text-align: justify; } body, .text, .justify, tr { color : #f0f0f0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; } .justify { text-align: justify; } </style> </head> <body background="Dance_wallpapers_211.png"> <h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt; color:#00FF00;> <bR> … | |
I have 2 ASP.NET controls, which are the label and textbox. Both of this controls are enclosed with <div></div> When the end-users seletected a radio button which value is `Others` The <div> block and show it up without any postback. by using <div> block is i doing research i am … | |
$(document).ready(function() { clearTextBox(); }); function clearTextBox() { $('#btnReset').onclick = function() { $('#txtName').val = ""; $('#txtContactEmail').val = ""; $('#txtMessage').val = ""; }; } I am using asp.net to develop my web page. Thus, all those control are on server-side. But whenever my `btnReset` is click is should be clear the textbox … | |
Hi in my javascript i need to increase an int value by one after every 5 seconds. How to do this? The script should keep increasing until the user moves away from the page. | |
Hello everyone i have two forms that are similiar the only difference is the rma number. One RMA number will get typed in by the user which will add it to the database and the second one, the user will select an rma number from the database(dropdown menu). What i … | |
<script type="text/javascript"> (function($){ $(function(){ $("#frmmsg").submit(function(e){ e.preventDefault(); $.post( 'templatemsg.php', $("#frmmsg").serialize(), function(){ document.location.reload(); }); }); }); })(jQuery); </script> | |
Hi all, I am beginner in javascript. I am attempting to change border color and style of a asp.net text box using javascript. The function is inside a .js file. It is as follows. [CODE]function checkMoney(controlID) { var control = document.getElementById(controlID); var text = control.value; var letter; if (text == … | |
i have page in classic asp which shows records from database. i have checkboxes in front of each row. i want to delete all records that are checked. | |
Hello everyone !! I need some help with jquery toggle :D . So , I have 2 left bars (one for login , one for register ) but they can be toggled on simultaneos and that is not good ( 1- don't make sense 2- don't look good ) . … | |
Hi, Please look at this code <div class="box"> <a href="http:www.google.com" target="_blank">click</a> </div> //css .box { width:250px; height:250px; border:1px solid red; } //script $('.box').click(function(){ $(this).find('a').trigger('click'); }); How to set target _blank when clicking the div.box. click is working fine but it opens the page in same window. Can you anyone have … | |
How can I get the value of an input field in Javascript? For example, someone types somehing into an input field and I want them to press a button to in turn, store the data in a JS variable. I believe there is such a thing as .value, but it … | |
i wanna make simple script that multiply any input by .51 and show the result automatic, without pressing any button,i got two scripts first script add value one to value two and show result auto, other script multiply but i have to press button, how to merge them :S and … | |
Good day folks, I have here a code that will animate 2 divs. But, when I hover over a div multiple times, the animation fires several times. Can someone shed some light on this one? Thanks~! <!DOCTYPE html> <html> <head> <!-- This is where jScript/jQuery starts --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> … | |
Hello , so i get an error with ajax when i move the site i scripted to my server ( so on my localhost it works ) . The error is something like origin not allowed by access control allow origin var trimitere = $.ajax({ url: "underpublic/searchforprice.php", type: "get", crossDomain: … | |
Which is the latest version of HTML, with the most support for new browser? | |
I'm developing a web appication using ASP.NET and VB.NET. In my application im using ajax control tool kit. this is what happned to me... I load data to my AJAX combo box. But when it dropped down, there is a gap between combo box and dropped down list. I search … | |
I need javascript for automatic city display when i click one state from list box. for example one list box i fetch karnataka, then automatically cities display whatever cities there in karnataka in another list box . Please reply..am newbee of script writing.... | |
Hello. l am using panzoom [Click Here](https://github.com/timmywil/jquery.panzoom/) plugin. Problem is the plugin allows the image to pan into invisibility. Does anyone know a way l can stop the panning before the image goes into the invisible part of the page. | |
I want to writ a jscript code that asks user to type (example) his name and than that name to be stored in variable x. this is what i have done so far, i am very new on jscript se please somebody can correct me with this. var x = … | |
Hi all, I'm using AJAX to reload a div within my script. However it frequently causes the browser to crash. It's happened on two different local environments and I've only been able to test using chrome. Chrome presents this screen: http://i.imgur.com/wq2v7SJ.png The code used to reload the div is: <script … |
The End.