15,127 Topics

Member Avatar for
Member Avatar for heliumgas

hello. i would like to know how i can use the message box ok/cancel to confirm the delete os data in the database. as javascript is clientside and php in server side hw i can do it? how i can send it to php undestand that is to del the …

Member Avatar for ~s.o.s~
0
121
Member Avatar for Racoon200

Hi. Iam making a calculator with javascript. I want it to have a textarea(content id) and a textbox for results to be displayed (display id) [code] function calculate() { var contentBox = document.getElementById('content'); var displayScreen = document.getElementById('display'); // sorry that's all i have } [/code] Thanks

Member Avatar for MidiMagic
0
149
Member Avatar for DavidB

I am presently translating some code from C++ to Javascript and it involves quite a few floating point calculations. The program uses several built-in machine constants to help it quantify and limit computer round-off error. For example, it includes the constants DBL_MIN and DBL_EPSILON from the <cfloat> library within C++. …

Member Avatar for MidiMagic
0
165
Member Avatar for Fungus1487

ive done some research looking into this but cannot figure out a method to suite my situation. i have an index.htm page this contains an Iframe containing another html page seperated using a frameset (just 2 frames) lets say '1' and '2' for example. I also have another window open. …

Member Avatar for ~s.o.s~
0
72
Member Avatar for JSP_javascript

In a JSP file I have this: <script language="JavaScript" src="cookies.js"> </script> <Form …….> <INPUT type="text" class="kar3" tabindex="1" MAXLENGTH="3" size="3" value='<%=fr4021a.getFrvbekd()%>' name="frvbekd" onBlur="document.forms[0].frvbekd.value=document.forms[0].frvbekd.value.t oU pperCase();document.forms[0].action='fr4021a.jsp?element=2';document.f orms[0].submit();" onFocus="displayVeldHelp('0');"> </form> How can I add the javascrit function Save_field( this) tot the element <Input ……..> or <Form …..> aanroepen. Must I use this: save_field(this); …

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

two zip files are inside the source.zip file i have attached. my webpage is in demo.zip. I have taken the javascript scroller concept from IFrame-ScrollingImages.zip. As you can see, the scroller doesn’t work properly on the about.htm page. It scrolls to a certain extent, the restarts suddenly instead of showing …

0
48
Member Avatar for maheshsayani

Please help me to Print Layer content from Java Script without opening any popup window. Actually i created a Layer. When user click on View One Layer will be seen looks like widget displaying some data and the background of the form will be in disable mode but we can …

0
51
Member Avatar for annomalis

Hi ,can anyone tell me if we pass a function to another function as a parameter in javascript?

Member Avatar for ~s.o.s~
0
42
Member Avatar for linux

I wrote this simple code to return my browser's name, because I've never tested this in Firefox: [code]<html> <body> <script type="text/javascript"> var browser=navigator.appName var b_version=navigator.appVersion var version=parseFloat(b_version) document.write("Browser: "+ browser) document.write("<br>") document.write("Version: "+ version) </script> </body> </html>[/code] In, Firefox, it returns "Netscape 5." I uploaded a screen shot. Error? *sorry …

Member Avatar for MattEvans
0
177
Member Avatar for dorothygael

Hi new to this, tried google searches and they just send me to forums so thought would give it ago. There seems to be an issue accessing sites that have JAVA on them. I have enabled them and activeX but still wont work! Please help!

Member Avatar for Ezzaral
0
80
Member Avatar for dsilander

Hi I would like to run a javascript function (to confirm deletion) from a web control (asp:button) before posting back to the same page. I have read about how to do this in several places (mybutton.attributes.add... ) However, the fact that I have asp.net validation controls on my page means …

Member Avatar for airyce
0
201
Member Avatar for Arch_Bytes

In my Submit button I have a JavaScript coded that will validate certain textfields.. The problem is if the value in the text field fails I must make away to stop the form from submitting.. any suggestions? I'm using JSF with this Javascript.. and to get a picture of my …

Member Avatar for MattEvans
0
1K
Member Avatar for spidey

hello! i have 3 textfields: one for the arrival date, the 2nd is fordeparture date, last is for the number of nights. both dates are picked in a datepicker calendar popup. would it be possible to display the difference between the two dates automatically right after selecting a departure date? …

Member Avatar for ~s.o.s~
0
292
Member Avatar for kahilw

The function below is sending audio that has been converted into bytes and then placed into a byte array, after which it is placed in the DataoutputStream and sent to a servlet. My question is How do I make a servlet that will receive this data and then turn it …

Member Avatar for ~s.o.s~
0
178
Member Avatar for siva gouru

currently iam doing the project in java with jsp,javascrpit and html ,oracle backend the problem is we cal as combo box (or) drop down list all these are 5 lists .in that if u select any one item in the first drop down list some other names are there those …

Member Avatar for bosko
0
84
Member Avatar for mabelin

hi! i am trying to add new features on a third-party webmin module vsftpd.i want to add radio buttons that enables/disables textboxes and i think i have to do this using javascript but i couldn't embed the javascript code into perl, how can i do this please help me!!

Member Avatar for KevinADC
0
86
Member Avatar for edouard89

I have this function that depending on the value passed will do what ever. [CODE] function menu(n){ switch(n) { case 0: document.getElementById('sub2').style.display = 'none'; document.getElementById('sub3').style.display = 'inline'; menu1(); break; case 1: document.getElementById('sub3').style.display = 'none'; document.getElementById('sub2').style.display = 'inline'; menu2(); break; } }[/CODE] I also have an Image that when clicked will …

Member Avatar for edouard89
0
89
Member Avatar for thirunavukaras

hai i want declare imports system.net -----header file in javascript <script> //// in this section how to declare imports system.net <script> please help me

Member Avatar for alpha_foobar
0
1K
Member Avatar for kanuri

Hai Friends, I have the code like this. Here my issue is: when the user accesses this page he will get the topic and related categories in the drop down boxes. but when the user changes the topic it needs to populate the categories from the database and kept the …

Member Avatar for alpha_foobar
0
70
Member Avatar for thirunavukaras

i used in this below code in usercontrol but error happen because the checkbox value didn't pass please help how to pass the checkbox value i try `<!--onclick="checkedChanged(this,'checkbox')--> this line` but the checkbox is `runat=server` so different value is generated in html view source code... so doesn't work this code........... …

Member Avatar for MidiMagic
0
117
Member Avatar for vssp

Hi Friends I need to validate the email address when submit the form using java script. When I enter one email address i have to val;idate the mail id. But at the same time I have entered multiple email address seprated by comma . I unable to validate How can …

Member Avatar for vssp
0
93
Member Avatar for Alexandro

I need to round a result number,by precision; Example: Math : y=x/1000000; x=5 => y=0.000005, but if I do this in java script y=0.00000500001;(not right) ;how do I round a equation by precision to have a math result

Member Avatar for ~s.o.s~
0
115
Member Avatar for himanjim

Hi... I'm developing a simple script using AJAX and php to update a database...But the script is running fine on IE but not at all on Firefox2.0.0.3....Please help me out Here's my AJAX script var xmlHttp function showUser(str) { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") …

Member Avatar for smalldog
-1
247
Member Avatar for MrScruff

Is it possible to have a link so users can add my site to their bookmarks via a link? I have found out how to do it using IE but it doesn't work with Firefox. Cheers for anyhelp.

Member Avatar for maa_ku
0
899
Member Avatar for willeffects

I wouldn't even consider myself a rookie with javascript but know it can be done, so thanks for any help. What function would I use to have javascript read the page it is on, grab the url which is like: [url]http://site.com/boards/index.php?showtopic=88837&mode=linear[/url] and say if the url includes "mode=linear" then apply …

Member Avatar for MidiMagic
0
159
Member Avatar for heliumgas

hello i´m trying to use the messagebox ok cancel in java to confirm or cancel when i try to eliminate some data from the database. i don´t know how it works. could somebody help me, or give me an example...

Member Avatar for UrbanSky
0
75
Member Avatar for ongxizhe

Hey all. Does anyone knows where to get some tutorials of JavaScript? Or someone willing to teach about JavaScript please kindly send a PM and include your contact or reply here. Your help willl be appreciated. Thank you. Xizhe

Member Avatar for ongxizhe
0
74
Member Avatar for chubbywubba

[COLOR=#000000]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR]

Member Avatar for pty
0
63
Member Avatar for enggars

Hi i have a script like this : function add() { c=document.form1.status1.checked; d=document.form1.status2.checked; if(c!=1) document.form1.hidsum1.value=0; else document.form1.hidsum1.value=document.form1.sum1.value if(d!=1) document.form1.hidsum2.value=0; else document.form1.hidsum2.value=document.form1.sum2.value a=document.form1.hidsum1.value; b=document.form1.hidsum2.value; var e = parseInt(a)+parseInt(b); document.form1.total.value=e; } And it works though. But i want to use looping to simplify the code. Anybody can helps? i have no idea …

Member Avatar for MidiMagic
0
144
Member Avatar for edouard89

In one of my previous posts [URL="http://www.daniweb.com/techtalkforums/thread77253.html"]here[/URL] I got the information on what I had to do. Now I have a similar problem instead of using a button to do that I have 2 links that when clicked will take you to the same page but depending on the link …

Member Avatar for edouard89
0
181

The End.