52,566 Archived Topics
Remove Filter ![]() | |
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 Web Development javascript | |
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++. … Web Development javascript | |
[COLOR=red]Hi frins[/COLOR]...i have done file uploading on client side but can any one just help me out with [COLOR=red]uploading file on server side[/COLOR]......[COLOR=red]Please [/COLOR]my deadline for project submission is approaching....I dont want it done using applet. Web Development client-server java-jsp | |
i started the application to build upon and came to an error, i tried to figure it out but through different procedure here is what i am calling: print ("<tr><td><a href=morder.php"); print ("?p_id="); print($row['id']); print(">"); print($row['p_name']); print("</a></td>"); it is calling the id from database, the link shows properly the values … Web Development php | |
I had a bit of a problem with my PHP coding tonight, and after playing 3 hours of Wii and heading back to the computer, I figured out the problem. (Newbies: This is a sound troubleshooting technique. Not necessarily playing Wii, but doing something totally different.) I've got a question … | |
Hi I am getting this very error..... [B]Cannot modify header information - headers already sent by[/B] (output started at C:\Program Files\xampp\htdocs\gallery2\examples\live-excel.php:36) I have tried [B]ob_start();[/B] but of no use. It did not work.... can someone give the solution.?? Thanks in advance cheers Prati Web Development php | |
Hello everybody, I need a code shows who is online...Explain??,OK: I wrote a chat program & I need to know who is logged on... Example: In this web-site you can see If I am logged on because If I'm logged on the picture beside me will be green... how to … Web Development php | |
yes, i know mysqls query language, but what i need to know is how to connect mysql database with php. i am designing a dynamic website using macromedia dreamweaver 8, mysql and php. how can i go about configuration in order to connect successfully? | |
hi there, i have a problem with the post data thing..i have two pages, one for uploading documents and another to see the uploaded documents. When i finish uploading and go to the next page i can see the uploaded document.when i click the back button to go back and … Web Development php | |
I have a stand-alone 2k machine that I loaded the IIS from the 2k cd. Basically I have a htlm program run which displays the exploded view of an assembly on the screen with hot spots. When you click on a part of the assembly it runs an ASP program … | |
Hi everyone! I have traced the variables that stores the data. All i have to do is to save all these in a table. Pls help. Here are the variables and its content: Variables: $pmaster_id = get_param("master_id"); //test------------------------------ print "master ID = $pmaster_id"; $master_id = $pmaster_id; $id = explode("-", $master_id); … Web Development php | |
Hi Everyone, I need help looking for a script. The script I am looking for is something like a swap/trade script. The script should let everyone do all the basic functionalities such as login, logout, register account, etc. The script should also have an administrative control panel. Basically, the script … Web Development php | |
hi i am trying to design a dynamic website using php and mysql, how can i make configuration so as to connect successfully? | |
ok ive just started work for a company and second day in they have asked me whether its possible to convert there entire VB6 applications suite to asp.net making it available to run online for their clients. This is my first job outside uni and having played around with asp.net … Web Development asp asp.net visual-basic | |
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 … Web Development javascript | |
hi, i have:- Server Version: Apache/1.3.29 (Unix) PHP/5.1.4 mod_mp3/0.39 mod_fastcgi/2.4.2 mod_ssl/2.8.16 OpenSSL/0.9.7j the php module seems to have loaded ok yet when i point to any php content it still delivers the code and not the propper content and i don't know what to check now as i am so … Web Development apache display php unix web-server | |
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 … Web Development asp asp.net javascript | |
Hi Multiple rows of dynamically created data is retrived from the database and displayed properly. When I get 50 rows displayed scrolling is necessary. The problem is when I scroll to see the items at the bottom of the list the rows get blurred (jumbled). To be specific at the … | |
An interesting thing happened to me today. I'm converting an asp webpage to asp.net. One of my pages has functions from another file imported through the <!-- include file="myfile.aspx"--> format. When debugging, instead of stepping into the myfile.function, the debugger starts stepping through what appears to be a random segment … | |
So i found a script that does what I want but I'm having trouble "implementing" it. Basically I have all the image file names stored in my table and i want them to all display (the ones uploaded by the particular user logged in) on a page. Of course I … | |
hi this is Akash , i need help in adding java code to jsp. i have a class called JTree , which displays a tree structure menu. now i want to include this code in jsp. i am using websphere to design my GUI. i trying this but i am … | |
hi i need to connect the jsp page with database using hibernate framwork how to possible ? can any one have the example or source code for this it's urgent my configration is following hibernate+jsp+netbean5.0+tomacat server+postgreSQL database [COLOR=red][B][U]HELP ME URGENT PLZ[/U][/B][/COLOR] Web Development java-jsp postgresql | |
I have to make a simple JSP page that takes 2 inputs as file names and then when you hit submit these files a passed to another method that takes 2 file inputs. i just wante to know how to do this in the second page. the first page is … Web Development java-jsp | |
hi i've been making a small site in my pc using Visual Web Developer 2005 express edition and everything works. when i upload the project to a server it starts to give some weird errors. some i've already solved, others... the one annoying me rigth now it's this one: [INLINECODE]Compiler … Web Development asp.net web-server | |
Greetings to everyone!!! I am editing a program in Php 4 generated in a CodeCharge 2.0.5. The last and only task i found trouble with is saving information of a billing statement to the database. I can display the information to the textboxes but i dont know how to create … | |
Hi all , I want to disable a text box when i select a value from drop down list, but im not able to so can u please help me This is my code: [COLOR=#0000ff]Protected[/COLOR] [COLOR=#0000ff]Sub[/COLOR] type_SelectedIndexChanged([COLOR=#0000ff]ByVal[/COLOR] sender [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR], [COLOR=#0000ff]ByVal[/COLOR] e [COLOR=#0000ff]As[/COLOR] System.EventArgs) [COLOR=#0000ff]Handles[/COLOR] type.SelectedIndexChanged [COLOR=#0000ff]If[/COLOR] type.SelectedItem.Value = [COLOR=#800000]"Income"[/COLOR] … Web Development asp.net | |
I'm trying to make a simple website as I'm just learning php. But reading through your forums all morning hasent brought me to what I'm looking for. I would liek to make a site with a simple input box to edit the end data of a hyperlink but I would … Web Development php | |
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 … Web Development javascript | |
Hi , i have some elements in one form(sample.jsp).I want to insert that fields into database.But i know abt, the insertion of form values in to the database using next page(next page contains database connection) .But i don't know how do write the database connection within the same page(sample.jsp). Anyone … Web Development java-jsp | |
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? … Web Development javascript | |
I found a few posts on this forum related to this, but I was not able to find anything directly related to my issue. I have a login page (default.aspx) that works great for 90% of our users (mostly Macs). The other 10% (mostly PCs) report that they enter their … Web Development asp.net | |
Hi all, I have a field named [COLOR=red]'UserDeleted' [/COLOR]which is set to [COLOR=red]false[/COLOR] by default. Records shouldnt be deleted from the database but the field Userdeleted should be set to true when user deletes a particular record. when i click on delete button a gridview is shown with delete commanfield … Web Development asp.net | |
I got this error Message. [B]Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 5/24/2007 Time: 10:34:10 AM User: N/A Computer: WEB Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 5/24/2007 10:34:10 AM Event time (UTC): 5/24/2007 3:34:10 PM … Web Development asp asp.net web-server | |
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 … Web Development audio javascript web-server | |
I've been trying to create a program to put cemetery records into a database. In creating the Modify Records section, I have three files: pick_modrecords.php, show_modrecords.php and do_modrecords.php The pick_modrecord.php file brings up a list of records from the appropriate table and allows me to select a record to modify...which … Web Development php | |
[COLOR=green]Hi all - this is my 1st post! I am working on a php/mysql app in which I need to generate dynamic html reports that arrange data from the db in a 3-level hierarchy. I'm able to write the big-honkin'-query that pulls all the data I need (from multiple tables, … Web Development php | |
Hello everyone! Please help me on how to append the content of 1 table to another. I have coded but there is an error, please check if you have comments. If you have sample code the better. $result2 = mysql_query(INSERT INTO billingstatementhistory values (SELECT * FROM billingstatement); error is: [B]Parse … Web Development php | |
Hi All, I want to develope database-driven application using JSP and JRun as the server. THe thing I want to know is how do I connect to the MSSQL Server 2000 database using JSP? What type of JDBC? And how to install the JDBC driver? Thanks in advance... :) | |
[COLOR=green]Dim[/COLOR] cb [COLOR=green]As[/COLOR] [COLOR=green]New[/COLOR] OleDb.OleDbCommandBuilder(da) ds.Tables("me").Rows(inc).Item(2) = txtFirstName.Text ds.Tables("me").Rows(inc).Item(3) = txtLastName.Text da.Update(ds, "me") Im getting a hard time on updating the database, What should I do to update or even add to the database. The code above is what I use but still it gives me an error. Please help. … | |
hi friends.....I created a folder under webapps put 2 files 1html & 1jsp. though the html one is running the jsp one isn't. the error message: [B]HTTP Status 404 - /helloJSP/hello.jsp type Status report message /helloJSP/hello.jsp description The requested resource (/helloJSP/hello.jsp) is not available. I've set the JAVA_HOME (environment variable>user … | |
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 … Web Development audio java-jsp web-server | |
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 … Web Development javascript | |
hi...i want to use the preg match function to verify a string that should have the format format of a year - two digits - two letters - two digits, like this: [in]2005-03-IT-031[/in] thanks Web Development php | |
I know the HTMl and CSS isn't right yet and am not to fussed yet. But the ASP is returning a 405 resource unavilible. My hosting is with 1&1 and it is turned on. booking form is [URL=http://www.chabrisloirevalley.com/booking.htm]here[/URL] ASP source code is: <% @LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <html> <head> <title></title> <meta http-equiv="Content-Type" … | |
Hello. I have a problem when adding the javascript delete confirmation. I use a page for both delete and update function. The delete querystring is just like this : `adm_data.asp?act=del&id=6` And the update goes this way : `adm_data.asp?act=upd&id=6` I use this following code to processing delete: If Request("act")="del" Then Call … Web Development asp javascript | |
[code] var ie4 = (document.all) ? true : false; var ns4 = (document.layers) ? true : false; var ns6 = (document.getElementById && !document.all) ? true : false; function openDesc(text) { if (ie4) { document.all["Description"].style.visibility = "visible"; document.all["TitleClose"].style.visibility = "visible"; } if (ns4) { document.layers["Description"].visibility = "show"; document.layers["TitleClose"].visibility = "show"; } … Web Development asp asp.net javascript | |
Hi, My program is something like this: [code] java.util.Vector v1991=new java.util.Vector(30); int f1=1; int f2=10; v1991=mb1.Sel(f1,f2); [/code] // Here,mb1 is the bean and sel is the function where I select the // records between employee number f1 and f2 [code] if(request.getParameter("submitxyz")!=null) { f1=f1+10; f2=f2+10; v1991=mb1.Sel(f1,f2); } [/code] // submit xyz … Web Development java-jsp | |
Hi, I think I have already posted this,but may be in some other forum. I need to post this in JSP forum. Here,all I need is a replacement of goto statement.I want to check for a condition,and if that condition is true,I want the compilet to goto if() statement and … Web Development java-jsp | |
Hey everyone. I have some work I have to get done for work and it involves ASP, .NET, SQL, and C# being developed on MS Visual Studio 2003. I was wondering if anyone had any resources out there for VS 2003? Mostly everything I find is for 2005 and we … Web Development asp asp.net c# visual-studio | |
First, forgive me if my english is not up to par, I do not live in a country where English is a national language. My inquiry today is an attempt to find a pre-existing program that can perform a rathar menial task laid out before me. Writing it would probably … |
The End.