15,121 Topics
| |
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 … | |
Hi guys, I'm new with javascript, so I need help from you guys. Please help me to change date format to yyyy-mm-dd. I've tried few ways but failed. Please download the script here [url]http://www.javascriptkit.com/script/script2/datetimepick.zip[/url] Thank you :) | |
Hi guys, i have a for and lets say 4 checkboxes i want to get the values of the checkboxes that are checked & to get the values of the checkboxes that are not checked. so if someone check the A & C checkbox i will get that A&C has … | |
Hi there, Got a javscript problem that im working on where the validation doesn't do what I think it should. From stepping through the code, when the [B]pound and pence fields on the form are blank[/B], but the [B]name is filled in[/B], it should error at "Please fill in value … | |
Good Day All I have a web Method defined like this [CODE] [System.Web.Services.WebMethod] public static bool CheckSessionExpiration() { System.Web.HttpContext.Current.Session["CurrentLoginUser"] = null; //This is for Testing Purpose if (UserSecurity.GetLoggedInUser() == null) { return false; } else { return true; } }[/CODE] and in Jquery i have a function that calls this … | |
I am not getting the difference between the [B][COLOR="Red"]action and onsubmit[/COLOR][/B] tags of the form in html. [CODE] <form method=GET action="xyz.php" onsubmit="return xyz()"> [/CODE] my problem is [B][COLOR="Red"]"which will be called when"[/COLOR][/B] and [B]limitations of each tag[/B].Kindly Help....:( | |
Hi all, Please can somebody tell me where to get good tutorials on AJAX and jQuery for beginners. |
The End.