15,120 Topics

Member Avatar for
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
176
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
177
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
85
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
884
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
157
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
73
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
142
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
Member Avatar for joe33

I have a field called [EMAIL="field@code1"]field@code1[/EMAIL] in a form in a XSL page. i want to use java script to do validation. the javascript errors if there is a @ in it. 1. is there any way of putitng an @ in javascript 2. is there any other way i …

Member Avatar for MattEvans
0
82
Member Avatar for virendra_sw

Hi. I am unable to create file object from javascript in Vista platform. ex. i am using this statement javascript var oFso = new ActiveXObject("Scripting.FileSystemObject"); after executing this and make try catch block for this i am getting this error "Automation object can't create object". I have enabled some options …

0
97
Member Avatar for jamello

Hi there folks, What do I do if a want a list of all the countries in the world loaded up into a html dropdown listbox. Thanks for the help in advance

Member Avatar for jamello
0
136
Member Avatar for welbyobeng

There is a script I am using....A Media Gallery...everytime I put in a javascript, it does not work. When I put [quote]<script type="text/javascript" src="[URL]http://www.example.com/js/swfobject.js[/URL]"> </script> <script language="javascript" src="[URL]http://www.example.com/js/player.js[/URL]"> </script> <script language="javascript"> var config = new Array(); config["width"] = 400; config["height"] = 300; config["clientId"] = "example"; config["bgColor"] = "#FFFFFF"; config["playList"] = …

Member Avatar for digital-ether
0
103
Member Avatar for kannabiran

Hi Guys, Im using c# asp.net,i had used datagrid to display the record from the database,in the datagrid i had used template column as textbox now i need to highlight the row onmouseover using javascript and also specify in server side how to hande this? help me rgrds Kanna...

0
71
Member Avatar for vssp

hai friends I need to check the password value have one numaric value .how to check the numeric value in given password. please help me Thanks

Member Avatar for MidiMagic
0
58
Member Avatar for jcisml

is there an alternative to this website preview tool? I'm looking for a tool that will preview websites from linked images not linked text. thanks

0
73

The End.