15,127 Topics
| |
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; … | |
I found a neat Flash image gallery here: [URL="http://www.hrewheels.com/"]http://www.hrewheels.com/[/URL] Where images of cars appear in a slideshow and the special effect shows the image opening up from the center. Are there any Javascript/AJAX, etc type galleries I can use to achieve this same effect? Thanks! | |
Hey Everyone. I recently created a game in abode director, and lost the .dir file. I currently ONLY have the .dcr, and back when I created the game, I added an obnoxious 'permanent' banner to an old affiliate who did not support me back. (So I would prefer to no … | |
Hey guys, Im going to try and explain this the best I can, maybe a bit difficult, but here goes anyway: I have AJAX calling a php function which displays a random quote when a user clicks a link. Every 5th click a div is echoed over the quotes, that … | |
I have a bunch of code [CODE] var xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0"); xmlDoc.async=false; xmlDoc.loadXML(sHTTP); var rootElement = new String(xmlDoc.documentElement.Name); Response.Write(rootElement); [/CODE] The problem is that when I try to display the rootElement Node Name, it appears as 'undefined' on my browser. I also tried xmlDoc.documentElement.NodeName. Any help will be greatly … | |
I am trying to create a function that onkeydown(), forces all letters to be capitalized after a comma (",") in a text input field. I know that I can make all of the letters capital using this function: [CODE]function makeUppercase(field) { field.value = field.value.toUpperCase(); } <input type="text" name="city_pairs" id="city_pairs" onblur="makeUppercase(this);" … | |
Hi Folks, The page on which my userscript will run has a namespace, the namespace defines a constructor function. I would like to create an object using the same constructor and use methods of the object in my userscript. So far I have been unsuccessful. Here's what I am trying … |
The End.