15,688 Topics
![]() | |
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <script type="text/javascript"> function showMe2(it,txtid,msg) { document.getElementById(it).style.display = "block"; e=document.getElementById(it); //e.style.top=200; document.getElementById(it).innerHTML = msg;//document.getElementById(txtid).parentElement.offsetTop ; e.style.top= document.getElementById(txtid).parentElement.offsetTop+35; e.style.left=document.getElementById(txtid).parentElement.offsetLeft+200; e.align = "left"; e.style.width="auto"; //document.getElementById(it).style.top =document.getElementById(txtid).style.top ; } function hide(it) { document.getElementById(it).style.display = "none"; … | |
As above! [CODE] var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no) var loadedobjects="" var rootdomain="http://"+window.location.hostname var bustcacheparameter="" function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttpRequest() else if (window.ActiveXObject){ // if IE try { page_request = … | |
i used ajax loading for all my pages [code]<a href="javascript:ajaxpage('test.htm', 'contentarea');">test</a> [/code] main page remaining the template and the other pages' content will be loaded into the template. but now the trouble is tht when i have to go to a page i have to go to the main page … ![]() | |
NETBEANS: I get none ouput - can you detect? I have a question about server side Ajax (Java) I think serverside error is, Can you find the bug in <div> I do NOT get sample xml data[bookrss.xml]... RSS Client/Server? I get xhrequest.readyState == 4 && xhrequest.status == 200 ... 4 … | |
Hi, I am repeatedly getting "missing ) after argument list" in firefox. hash_a is a variable. $("#details_a").append("</br>"+"Enter Name "+"<input type='text' id='myText' />"+"<input type='button' id='theSubmitButton' value='Edit Name' onclick='edit_data("+hash_a+")''>"); Thanks. | |
hello daniweb web developers i am beginner with programing and i want to know how to make this one..if i select a item for example CA on <select box> how to put a confirmation message that will be put in the <div> tag? i'm hoping you could help me sir..regards … | |
Here in the second tab i have a submit button .when i enter some value in the textfield of second tab(tab2) and give submit its again going back to first tab(tab1) .What i want is after i click submit in tab2 it has to be in tab2 oly.It has to … | |
Hi, have this function below that gets the name of the pc, the local part works however the part that goes to the htpc fails, permission denied is the message. I have set the same username/password as admin on both machines. there must be some code I can use to … | |
First of all I'd like to apologise in advance if I do not explain this very well, as I'm not overly familiar with javascript, but here we go. I'm currently working on an ecommerce page on ebay, I've added html code within the description of a listing to make it … | |
Hello, I'm completely new to JavaScript. My project requires to display path from pointA to pointB on GoogleMaps using gps coordinates. For now all I'm trying to do is to display google maps webpage to start off. Using an online editor I was able to do that but when put … | |
Hi all, I have an AJAX function that sends the contents of a text field to a PHP file. The file checks for duplicate entries and if unique stores the new record in MYSQL. This all works fine. However, I would like the PHP file to send back an alert … | |
is it possible to force or trigger a keypress on mouse click? what i want to do is mimic the arrow up and down keys when i click on a button. is that possible using javascript? thank you. ![]() | |
Hey guys; I'm having a little problem here, I have made a mock up website for my High School, but the Javascript that controls tweaking the CSS to display the website at different resolutions. This used to work great, but now I find that the JS only runs correctly after … | |
Hi all, I have an AJAX script that pulls a radio group list from PHP. I would like to then read which of those options the user subsequently selects. My AJAX script: [CODE]function showCharacteristics() { xmlhttp1=new XMLHttpRequest(); xmlhttp1.onreadystatechange=function() { if (xmlhttp1.readyState==4 && xmlhttp1.status==200) { document.getElementById("charList").innerHTML=xmlhttp1.responseText; } } xmlhttp1.open("GET","ctrPanelProc.php?selection=getCharacteristics",true); xmlhttp1.send(); }[/CODE] … | |
Hi all, I have two radio button yes,no in a.jsp. var IncludeCharges = document.getElementById("IncludeCharges_no").value; If i select yes i need to pass 1 to the java file and in case of no i need to pass 0. but when i retrive the radio button value using int Includecharges = Integer.parseInt(request.getParameter("IncludeCharges_yes"); … | |
So i had to do the following assignment in GWT: 1.Implement a selection/de-selection component as described below: The selected item in the first list goes into the second list and is removed from the first list when the >> button is pressed. The selected item in the second list goes … | |
Hi, I have created .js file it is using in jsp page. All methods of .js file work properly but here problem is when I want to execute any method of .js file on body onload event then this method no working. So tell how can execute this method on … | |
Could someone please explain why the following code works: [code=php] <html> <head> <script type="text/javascript"> function test(){ phpTest = "<?php echo 'hello'; ?>"; document.getElementById("php_code").innerHTML = phpTest; } </script> </head> <body> <a href="#" onclick="test(); return false;"> test </a> <span id="php_code"> </span> </body> <html> [/code] while this code doesn't: [code=php] <html> <head> <script … | |
hi all. i'm struggling with the following code - can't seem to get the variables within the function to work... [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Teabag calculator</title> <script language="javascript" type="text/javascript"> var single=0; var dbl=80; var total=single + dbl; … | |
Hello, I have a div (#disclaimer) that has the css property of "display:none." The following jquery script is supposed to show it when the #test select option is clicked. The #quest,#comp,and #other divs are supposed to hide it again. It works fine in FF but does not work in IE. … | |
Hi, I am in a unusual situation and cannot get my JavaScript to work. I need to have all of my JavaScript in one external file that I link to in the header. However, some of the JavaScript in that external tag needs to appear in a certain place in … ![]() | |
Hi, I'm working on one sites and having troubles with these: I have tables catecogires and subcategories in database. When user add article, he select categorie from select tag and under that tag appears another select tag with subcategories of selected category. Code in jquery: [CODE] $("#ka").change(function(){ function PostaviPodatke(podaci){ $("#pka1").show(); … | |
Hello, I'm completely new to JavaScript. My project requires to display path from pointA to pointB on GoogleMaps using gps coordinates. For now all I'm trying to do is to display google maps webpage to start off. Using an online editor I was able to do that but when put … | |
Hi All: I am trying to load an image into a div using AJAX. Instead on loading the image, I get �PNG as the result in the div. Does anyone know how to load an image into a div? Best Regards, dennishall | |
Hi, I'm pretty sure this would be something I'd need javascript for. What i want to do is to recognize when a user presses the enter key while active on a text area and to insert a new line | |
Hi everyone, I'm writing because I have a client who has a relatively obsolete order form based on tables in place of CSS -- I would do a complete overhaul but right now we don't have the time, however right now although the form relatively works, there is an issue … | |
I am very new to JavaScript. In our class we were assigned a project to create a Web page with 5 text boxes, each with a value attribute of zero. When the user changes the values, it is supposed to call a caclAvg() function. How do I pass 5 values … ![]() | |
Hi all, I am able to run perfectly the following [CODE]<li><a href="javascript:ajaxpage('login.php', 'ajax');">Login</a></li>[/CODE] But not the following [CODE]echo "Welcome Guest!<br><a href=javascript:ajaxpage('login.php', 'ajax');>"[/CODE] I removed the " around the javascript:ajaxpage('login.php'); as it was giving me syntax error. But I am unable to cal login .php upon clicking Login. I tried various … | |
hi, how to call code-behind function in java scrip. i am working on asp.net please help me to call the procedure with js. thanks in advance. jack | |
Hello Everyone :) I was just wondering, could anyone help me with codding my own JavaScript application for my HTML format website, if so please [URL="http://www.hotmail.com/james.smith@hotmail.co.nz"]E-Mail me[/URL] Or [URL="http://www.signup-memberforums.webs.com"]visit my website[/URL] and leave a new subject Thanks for helping. (If the [I]Email Me[/I] link doesn't work,E-Mail [I]james.smith@hotmail.co.nz[/I] |
The End.