15,127 Topics
| |
Hello, I wonder can someone help me. [onkeyup] I am trying to transfer user input fields from a form so that the user can preview what they have entered in a div on the same page (i.e. prior to submiting). e.g. 1st Line - Name: This is my Name 2nd … | |
I want to get the selected text from the i-frame, where the source is from another domain. [code] <html> <head> <script> function getselText() { var iframe = document.getElementById("my"); var txt = getIframeSelectionText(iframe); document.aform.selectedtext.value = txt; } function getIframeSelectionText(iframe) { var win= iframe.contentWindow || iframe.contentDocument.defaultView; var doc= iframe.contentDocument || win.document || … | |
Hello Sir, I am using a web application . I need to be able to access the clipboard data using javascript . I have completed implementing this in internet explorer but haivng an issue implemnting this feature in mozilla . code in internet explorer: document.getElementById('ClipboardContent').value = window.clipboardData.getData('Text'); Regards, vamsi. | |
Hello Sir, I am using a web application . I need to be able to access the clipboard data using javascript . I have completed implementing this in internet explorer but haivng an issue implemnting this feature in mozilla . code in internet explorer: document.getElementById('ClipboardContent').value = window.clipboardData.getData('Text'); Regards, vamsi. | |
I have a web page of a javascript game I downloaded from the net, on the web site it works correctly. But if I save the web page to my hard disk and play the game the game graphics do not show, I would like to know why not. Here … | |
HI EXPERTS, I am trying ajax. The code I have used is given below.I linked both the javascript files inside the head section. When I select any category from first dropdown box, I call the javascript func and got the corresponding subcategories in the second dropdown. This is ok. But … | |
how can i get the value of the type=hidden when i click the <tr class='click'>? i only get the value of first hidden and when i click the other <tr> the same value from first hidden. jquery code [CODE] $(document).ready(function(){ $('tr[class='click']').click(function(){ var a= $('tr[class='click'] input:hidden').val(); alert("a"); }); }); [/CODE] html … | |
I'm having some issues getting my menu to work right. I'm trying to make it so that when the top of a given category has the mouse over it, it creates a flydown of the submenu. Also, on the mouseover of both the top menu and submenus, i want it … | |
So far I've got this iframe to refresh every minute. What I would like to do is have the scr of the iframe be a variable. When the iframe loads to the main site if it find that the page cannot be dislayed then switch to the second site. I … | |
hi everyone i have image rollover code. and i want to add functionality, for ex-this scripts roll overs images (slides them) . i would like let it stops when onmouseover event here is script [CODE] <html> <head> <title>HTML ders | 09.07.2010</title> <script> var sekil1=new Image(); sekil1.src="bir.jpg"; var sekil2=new Image(); sekil2.src="iki.jpg"; … | |
I am trying to call a function from a link or button like the example below, however I would like to call the function whilst passing a variable along (not a string). I was wondering if this was even possible, if not what is another solution? This isn't my code, … | |
Hi, I am trying to use ajax in my webpage. I got the values from the database and displayed as links as below. param1 param2 param3 I used the following code to call a javascript function func() with dynamic parameter param in jsp. out.println("<a href='#' onclick='javascript:func('"+ param +"')'>"+ param +"</a> … | |
i used this code to adding multiple values.. bt it dsnt work . it didnt give me real answer.. plz some one can help me up.. [CODE] function calc(y){ answer="0"; for(var co=1;co<=y;co++){ answer+=parseInt(document.getElementById(co).value); } document.getElementById("total").value=answer; }[/CODE] this code didnt give me sum of values. it gave like this.. (10101010). not … | |
Hi All I am using AWM menu and there is functon awmCreateMenu() which creates a menu, but exactly not getting the different argumnts to this function. Will please any one help to get meanings of these parameters? Actually I want to activate or open this menu using an short key … | |
Hi experts, I am trying to use ajax in my webpage. I got the values from the database and displayed as links as below. param1 param2 param3 I used the following code to call a javascript function func() with dynamic parameter param in jsp. out.println("<a href='#' onclick='javascript:func('"+ param +"')'>"+ param … | |
hi all, i have simple image slideshow script does anyone know how to do it with a help of for loop not if here is code thanks beforehands [CODE]<html><head> <script type="text/javascript"> <!-- var image1=new Image() image1.src="bir.jpg" var image2=new Image() image2.src="iki.jpg" var image3=new Image() image3.src="uc.jpg" //--> </script> </head> <body> <img src="bir.jpg" … | |
Trying to use ajax to sync up with the database but never really got it to work unless i refresh the page. [code] <!-- the html page --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="js/generalFunctions.js"></script> <script src="php_lib/getOrder.php"></script> </head> <body> <script type="text/javascript"> // a function in the "js/generalFunctions.js", the ajax function, see … | |
Hey Guys, I know this is a known issue but I have had no luck with finding a fix for the issue I am getting with IE8. I get a nasty black border around my png that I am using the Jquery fade function. Does anyone have any useful hacks/tricks … | |
Hey Guys, For some reason my light box is not working within my "tab content" for my jquery based tabs? Is there a reason why it is not working? It shows the link and when you click it brings the photo up in a new window? Do I have to … | |
Hi All, I am trying to program a web based cash register/POS application. I would like to use a function to format the number in the "Amount Received" text box. The idea I have in mind is to always keep two decimal places at all times. For Example: if someone … | |
I'm in the process of working on a page that uses layers and iFrames in conjunction with javascript and <div> layers. The problem I'm hoping to solve with your help is that I implemented [CODE] onclick="this.className='stylesheetstyle'"[/CODE] in the <a href> tag and so therefore when users click the links, the … | |
[I]Hi experts,[/I] [I]please help me,[/I] [B] In my WebApplication ,In vertical scrollbar scrolldown some position after the refreshing the page again scrollbar position goes to the top of the verticalscrollbar How to get back the scroll position after the refreshing the page[/B] [B]Thanks and Regards, Srinivas Kota.[/B] | |
Hi all, I want to know if it possible to load different images into page every time the website is viewed? If so, please help. Thanks in advance | |
the error i am getting in the html file Message: Syntax error Line: 1 Char: 1 Code: 0 URI: [url]http://localhost/testhtml/test.php[/url] The test.php code is <?php Header("content-type: application/x-javascript"); echo “document.write(‘Hello World I am php code called from HTML file:’);”; CLOSE WINDOW; ?> The test.html code is “<script language="JavaScript" type="text/javascript" src="http://localhost/testhtml/test.php"></script>” HELLO … | |
hi all i'm using visual web developer 2008 i have included ajax toolkit bar into my project when i drag and drop one of the tools for example autocomplete extender it does not come the pointer becomes circle with diagonal line i was using .net framework 3.5 i downloaded framework … | |
Hi there, I need to do a few things onclick, but I'm having problems. 1. Swap divs onclick of a text link in a list (found a script for this) 2. Change the font color of the text link that is active, then change back to normal color when another … | |
Hi all, I'm new to this and trying out a few projects to get started. What I want to do is get the script to search the page for keywords kept in one of three arrays and highlight the word in a colour depending on which array it is in. … | |
<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head2" runat="server"> <title>Run Executable HTA</title> <script language="javascript" type="text/javascript"> function RunEXE() { var oShell = new ActiveXObject("WScript.Shell"); var prog = "c:\\WINDOWS\\system32\\notepad.exe"; oShell.Run('"'+prog+'"',1); } </script> </head> <body> <input id="Button1" onclick="RunEXE()" type="button" value="Notepad" /> </body> </html> not working, ActiveX is not defined error . |
The End.