15,698 Topics
![]() | |
Hi there, Got some form validation but doesn't seem to even be running through it. First off the form is displayed, if you click in 'Name:' the 'ID:' box disappears so that you cant type in both, after it disappears (and vice versa), the validation should check its correct, but … | |
hello all i have a jsp page in which i am using a function for detecting the ascii value of key pressed.it has to give alert if other than any alphabet key is pressed.Below giving the explaining code [CODE] function checkname(e) { var cc=e.keyCode; if(cc >=65 && cc <=90 || … | |
Hi people I have radio button list populated from database. By default first value is selected. How can i call JavaScript function if user selects another value in radio button list. | |
Guys, just a quick question, is there any way to get this AJAX to be called on a button click? I know how to use buttons to call JS functions but I'm not sure where to add the open and closing parentheses with this AJAX...I've tried encasing different parts, but … | |
I need click `ben10` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `winx` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `pocoyo` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. but my code not worked. can anyone help me? and if I … | |
Here is the button: [CODE] <input class = "preview" type="submit" name = "Preview" value="Peržiūrėti" /> [/CODE] and here is the submit: [CODE] $('input.preview').click(function() { $('form').attr( 'target', '_blank' ); document.myform.submit(); }); [/CODE] So when I submit with jquery, and try to get with php the data [CODE] print_r($_REQUEST['Preview']); [/CODE] It does … | |
can any one help me out.what is the problem with this code? [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> function combofunction(){ // actions that you want to perform //You will receive a different greeting based //on what day it is. Note that Sunday=0, //Monday=1, Tuesday=2, … | |
Hi! I want to create a circle using ext-js and fill it with 3D gradient. But I don't know. I searched almost all the APIs but I couldn't find the method to do so. Any help will appreciated. | |
I am using ajax to pass php variable to javasccript function as shown below for my particular application. i am using the foolowing function from ajax.js freely available from net to implement the ajax functionality as var abc = new sack(); PHP portion which passes the response text: ************************************ <? … | |
Hi, So, I have a client that wants a new background image every time page is reloaded. I thought I have to script and thought I had it working but when I applied it to all my pages from a template I made in dreamweaver it doesn't work. It only … | |
Hi, I have a HTML document with form. The form has several radio buttons. I want different elements of HTML (including <input> elements) to appear when each radio button is selected. Also, it is intended to show only those elements for a specific radio button. For example, if i select … | |
I have a client-side form and it submits to itself using the 'GET' method. When the form is submitted, I can get the results, but I can't seem to hide the form itself. Is there a way of doing this using Javascript in an ASP file? The document.getElementById("myDiv").style.display="none" doesn't seem … | |
On random pages of my site im getting the following error: [CODE]Permission denied for <http://googleads.g.doubleclick.net> to call method Location.toString on <http://fir3net.com>.[/CODE] I have no clue on how to debug this or what could be causing this. I have searched the web but no one seems to know what this is … | |
This JavaScript is not working in Mozilla Firefox and Google Chrome, can anyone please help me with this.. Thank you very much.. Please post your revised JavaScript if I am wrong.. please help.. thank you.. [CODE]<style type="text/css"> a {text-decoration: none;} .title {position: absolute; width: 150px; height: 20px; left: 10=px; z-index: … | |
Dear All, I am not so clear about jQuery actually what is it and how it function and different from Ajax? Can some one help me clarify? Now I required a functionality where I can drag and drop with the backend mysql capability to update the db. What will be … | |
[CODE]function name_free(value, element){ //validation rule var result; if($('input[name="name"]').val() != value) { //console.log($('input[name="name"]').val()); $.post(CI.base_url + "admin_/info_psl/name_check_ajax", { pavadinimas: value}, function(data){ //console.log(data); if(data == 'true') result = true; else result = false; }); } else result = true; //jei vienodi tai viskas ok console.log(result); return result; }[/CODE] when if($('input[name="name"]').val() != value) is … | |
Hello I have a code that counts the click of a particular link but only one per page But he precizo count on several link on the same page [CODE]<script type="text/javascript" src="file:///D|/Downloads/cookie.js"> </ script> <script type="text/javascript"> var = CookieUtil { get: function (name) { var cookieName = encodeURIComponent (name) + … | |
<html> <head> <title>Insert New Student</title> </head> <script language ="javascript" type="text/javascript"> function checkForm(formobj) { //name var formOK = true; if (formobj.name.value == "") { window.alert("You have to enter value for name."); formobj.focus(); formOK = false; } //surname if (formobj.surname.value == "") { window.alert("You have to enter a value for surname."); formobj.focus(); … | |
Anyone who can provide a code that I can put in a web page. I'm creating a page with a Tree View that I can navigate to see all the contents of the web page. Please post a simple code that I can understand easily, because I a newbie and … | |
Javascript works perfectly on all other pages of the website but one. Works correctly: 1. Go to drugstore.com 2. click on "international link" at the right hand top corner 3. An over lay appears where you can select country and currency drop down is auto filled. 4. Click on Update … | |
hi. I have a list of names of flash files. On clicking anyone of them, flash file(.swf) whose path is know should play on the same webpage, on the right side of the list I know the code to play swf file. But here the file name has to be … | |
I've been working on a very cool control - The Simile Timeline. The codebase behind it is brilliant, but there is little documentation supporting it. So, I would just like to know if anyone else has been working with it? | |
Hi All, Does anybody know of some Modal Window API? I made a custom modal window for my website, but it gave problems in IE7. I need to put various forms like login, newsletter, etc into them. Thanks in Advance | |
I want to load partial page when loaded in the same window ( i.e I don't want to load navigation menu bar again and again) but if someone opens it in new tab it should load the whole page(i.e including navigation menu bar) just like in facebook... I tried iframes(HTML) … | |
Hey all A friend of mine just designed a page and added the yahoo and gmail login boxes to it. Now, it works. What I want to ask is this. If I he was to host it, and use it to login to yahoo, gmail whatever, would it be secure? … | |
I've found a simple script (at [url]http://www.javascriptkit.com/script/script2/bodymass.shtml[/url]) that determines someone's BPI that I'm now trying to alter to fit my basketball workout program. Been trying all day, can't figure it out... If anyone can help, thanks a ton. Their formula is as follows: [CODE] <FORM NAME="BMI" method=POST> <TABLE border=1> <TR> … | |
Hi... got a problem with this snippet... [CODE]function writeColum () { var x = document.getElementById("wc").value; var y = document.getElementById("title").value; if (event.keyCode == 32) { x=x+" "; } if (event.keyCode == 13) { x=x+"<br />"; } document.getElementById("passValue").innerHTML=x; }[/CODE] Any reasons why it's not working? | |
I have a calendar and when selecting the date the date format inserted to text box is in the format ' 10/10/2010'. This is not getting inserted into oracle database. Oracle accepts only the format '10-OCT-10' . So please help me to change the format of date that getting selected … | |
hi i need a javascript code to disable print screen key in both firefox and IE | |
This JavaScript is working properly when using Internet Explorer, but this Script is not working when using Mozilla Firefox or Google Chrome. Please Help me re-encode this. Thank you. Here's the Script: [CODE]<html> <head> <title>Test Tree</title> <style type="text/css"> a {text-decoration: none;} .title {position: absolute; left: 35px; width: 150px; height: 20px; … |
The End.