15,127 Topics
| |
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 … | |
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 | |
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++. … | |
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. … | |
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); … | |
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 … | |
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 … | |
Hi ,can anyone tell me if we pass a function to another function as a parameter in javascript? | |
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 … | |
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! | |
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 … | |
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 … | |
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? … | |
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 … | |
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 … | |
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!! | |
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 … | |
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 | |
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 … | |
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........... … | |
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 … | |
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 | |
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") … | |
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. | |
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 … | |
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... | |
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 | |
[COLOR=#000000]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR] | |
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 … | |
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 … |
The End.