15,127 Topics

Member Avatar for
Member Avatar for technopup

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 …

Member Avatar for technopup
0
439
Member Avatar for vino4all

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 || …

Member Avatar for fxm
0
1K
Member Avatar for vamsikrishna20

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.

Member Avatar for kvprajapati
0
122
Member Avatar for vamsikrishna20

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.

0
86
Member Avatar for Pleasant Day

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 …

Member Avatar for Pleasant Day
0
134
Member Avatar for gobinaga
Member Avatar for yuvi2288

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 …

Member Avatar for yuvi2288
0
136
Member Avatar for canterorist

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 …

Member Avatar for pritaeas
0
95
Member Avatar for kahaj

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 …

Member Avatar for kahaj
0
119
Member Avatar for blackoprogue

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 …

Member Avatar for blackoprogue
0
217
Member Avatar for azegurb

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"; …

Member Avatar for azegurb
0
191
Member Avatar for danny4444

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, …

Member Avatar for danny4444
0
110
Member Avatar for yuvi2288

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> …

Member Avatar for ~s.o.s~
0
74
Member Avatar for Kadafiz

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 …

Member Avatar for dhanapal86mca
0
139
Member Avatar for dhanapal86mca
Member Avatar for svmvishnu
0
111
Member Avatar for ganeshm21

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 …

Member Avatar for theantonis
0
187
Member Avatar for yuvi2288

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 …

Member Avatar for musthafa.aj
0
67
Member Avatar for azegurb

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" …

Member Avatar for azegurb
0
114
Member Avatar for k2k

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 …

0
63
Member Avatar for drewpark88

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 …

Member Avatar for drewpark88
0
125
Member Avatar for drewpark88

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 …

0
60
Member Avatar for PomonaGrange

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 …

Member Avatar for fxm
0
3K
Member Avatar for hatrickwah

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 …

Member Avatar for fxm
0
139
Member Avatar for srinivaskota

[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]

Member Avatar for fxm
0
301
Member Avatar for Takkies

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

Member Avatar for Takkies
0
125
Member Avatar for pankaj87us@gmai

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 …

Member Avatar for pankaj87us@gmai
0
1K
Member Avatar for shanboy

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 …

0
52
Member Avatar for scaryhelmet

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 …

Member Avatar for macgurl70
0
813
Member Avatar for Cotillion

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. …

Member Avatar for fxm
0
299
Member Avatar for vilasdhobale

<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 .

Member Avatar for Taywin
0
77

The End.