15,127 Topics
| |
Hello, I have one input field that is collecting some information like this: <label>Tax Rate</label><br><input type="text" class="input" name="taxrate" id="taxrate" onblur=" return getTaxrate()" value="<? echo $row['taxrate'] ?>"> what I am wanting to do is onblur convert from say 7.63 to .0763 for the tax rate. I am only using one input … | |
Jquery resizable handles does not working correctly after rotating the div, i changed the handles after the rotation of div into correct position., but when resizing the div it resize opposite direction, for eg we move handle se means the position nw want be fixed but it moves away. Please … | |
Hi All, Some of my webpages in ie showing scripts erros at the bottom left. How to deal with that Thanks in advance | |
Here my var = var path = 'http://www.google.com/test/'; how to remvoe the last forward slash or test/ Thanks in advance | |
Hello Everybody, I have a problem with including a .php file into a javascript code. This is a calendar, and I want the calendar to use my database data. So here is my code of the javascript: <script type='text/javascript'> $(document).ready(function() { var date = new Date(); var d = date.getDate(); … | |
hi i have a site runnig php pro bid solution. when a user uploads a img with more that 2000 or 2500 pixels more or less, it retrieves a error box saying just "undefined". how can i solve this?? cheers | |
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? |
The End.