I have on a web page a dropdown list with 3 values:<option value "1" > United States </option><option value "2" > Canada </option><option value "3" > United Kingdom </option>Now If the first country in the list is selected with value ="1", what ASP code can allow...
246 byte By
oob2 at 2007-11-18 1:13:32
Hi,<br/>If I have a DOS batch called "a.bat" under my D:\test\a.bat. Inside this batch file, how to get the directory and drive where a.bat resides? <br/>If I type something like this:<br/>C:\Program Files\>D:\test\a<br/>Thanks.
161 byte By
GazDev at 2007-11-18 1:14:53
I have a frameset with two frames. When I press F5 both frames are refreshed. I only want the active frame to refresh when I press F5.<br/>Is this possible?
926 byte By
Chamitha at 2007-11-18 1:18:18
Hi,I'm a newbie to VBScript and I'm trying to launch an application using the WScript.Shell Run command.Option ExplicitDim WshShellDim returnSet WshShell = Wscript.CreateObject("Wscript.Shell")return = WshShell.Run("cmd.exe")MsgBox(return)set WshShell = NothingI have a couple of questions....
988 byte By
ongwc at 2007-11-18 1:21:03
Hi all,I have this problem, everytime I load my ASP I got this "[Microsoft][ODBC SQL Server Driver]Timeout expired" error, I have checked and tried runing my "Stored Procedure/Query" in "MSSQL Query Analyzer" it only took less than 1 second to complete but how come the ASP said "timout expired"? Her...
Can somebody tell me from where I can download some advance JavaScript menus like those from www.msdn.microsoft.com ... the problem is that I can't copy that code and put it on my www bvecause they are designed to work only for www.msdn.microsoft.com ?? Did you saw JavaScript menus more cools t...
491 byte By
gorgeous at 2007-11-18 1:24:08
Hi friends,I want a modal window as we create in Vb Application.If I use showModaldialog( ) function - the problem is that i can not reload the dialog window after submit. this window is for one time??i tried another solution - i create a window using Window.open(), and OnBlur event set the focus to...
616 byte By
martini at 2007-11-18 1:25:19
I am using javascript for populating the HTML pages with data. The data is filled in a java vector (mainVector). This vector object has multiple vectors inside it. Now this mainVector is returned by a bean that communicates with the database.In the HTML page, I have a next and a previous button, on...
408 byte By
martini at 2007-11-18 1:25:20
The database that I am using consists of data that has a carriage return and line feed. I am accessing this data and associating it to a javascript variable. But when I try to access this variable, it gives unterminated string literal error. This is because, in the servlet that is generated from JSP...
Hi all!<br/>Is there a way to put a text field in a phone format?<br/>The text field should be like "(999)999-9999"<br/>Where the user doesn't have to enter the "()-" characters it will be force by the application just like a mask edit field in VB<br/>Thanks for your help
I'm having some problems getting an asp to display a hyperlink that's stored in a database. It displays something like "www%2Edev-archive%2Ecom." <%=Server.urlEncode(rs("SITELINK").Value)%> is what I'm using to pull it out of the database. Is it a problem in the database, or...
364 byte By
lord loh at 2007-11-18 1:27:03
Has anyone got the google toolbar ( http://toolbar.google.com/).The toolbar is installed and appears near address bar of IE by just a visit. (After you say "I agree" to "Terms and Conditions")My Questions are=> How does this happen ?=> Does any one know of any script that can do this and is fr...
I have 2 select boxes; the second select box is dynamically populated when the first select box is selected.1) <select name="oOption1" onchange="populatesecondbox()"><%while not rs.EOF %><option value="<%=rs("project_id")%><%=rs("name")%></option>...
I have 2 select boxes; the second select box is dynamically populated, from the database, when the first select box is selected. I don't know how to do get the data from the access using the client script. Is there other way? Thanks.1) <select name="oOption1" onchange="populatesecondbox()...
204 byte By
tomuch at 2007-11-18 1:32:40
I have two swf.(Flash) files on my site. indexswf_1 & indexswf_2. Can I use cookies to direct the browser to open indexswf_2 if the veiwer has already visited the said page before, rather then indexswf_1.
167 byte By
emeel at 2007-11-18 1:33:36
hi<br/>i want coutner written in java script to appear in the system tray and this counter will count seconds.<br/>thanks<br/>[Goodz13:Moved from Java Forum]
131 byte By
jay_143 at 2007-11-18 1:33:39
I want to disablr mouse right click in my HTML page using Javascript please help me & Tell me the event which captures right click.
I am trying to add a new record in a ms access database located in the followingphysical path: C\Inetpub\wwwroot\plea\data\project.mdb on a windows2000 server. Ia using the following ASP code in order to do that: <!-- #include file="adovbs.inc" --><% Dim conn, sConnectionConst DB_CONNECTION...
It's a reasonably simple question, but I haven't done much JavaScript in my life - So I need help!What I have are two pages. One is a page with a variable stored within a script tag in the head section of the page. I've got another page that consists of an IFrame, displaying the fir...
I am trying to call a function that will generate a reference numberfrom an ASP Page. Here is the listing of the function:function ReferenceNumber() Dim Ref, tmpRef, weightTable Randomize Ref = Right(CStr(Day(Now)) & CStr(Month(Now)) & CStr(Second(Now) & CStr(Minute(Now)) & CStr(Year(Now)) &...
Hi everybody!Does somebody knows if i have 4 radio button but i have to give them seperate names will i be able to select only one after i do that??Ex:<code>Male <input type='radio' name='male' value='m'>Female<input type='radio' name='fema...
981 byte By
Goodz13 at 2007-11-18 1:43:55
I have a page with a form with input type text, select, etc.What I want to know is how do you hide butons and submit buttons.I found the following code, but it doesn't seem to workin my head tags.<style type="text/css" media="print"><!--.hide {display:none}--></style><style...
I tried searching for this to no avail.Does anyone know of a way to remove an item from a html listbox.We have 2 lists on our page and we are transferring one item from one box to another. This works find. However, we want to be able to remove an item from one ofthe boxes.My head is flat from poun...
2645 byte By
Goodz13 at 2007-11-18 1:44:46
The following JavaScript works in IE but not Netscape. Is there an easy way to get it to work in both without detecting the browser? What about another scripting language?What it does is submits to a CGI that displays a directory Structure.<script language="JavaScript"><!-- var openDir...
1351 byte By
vbnov at 2007-11-18 1:48:09
hi all i use label & timer control in my asp page.<object id="ietimer" width=39 height=39 classid="clsid:59ccb4a0-727d-11cf-ac36-00aa00a47dd2"> <param name="Interval" value="50"></object><object id="ielabel" width=150 height=150 classid="clsid:99b42120-6ec7-11cf-a6...
hi,this seems an easy question in windows programmingbut since i'm a newbie in web pro, it became a must to ask it,How Sleep(seconds)...is coded in JavaScript...i wanna put my delay in a function while it puts some images one by one but with some delay...so which class should i use in JavaScrip...
947 byte By
sylkro at 2007-11-18 1:49:14
hey all, i got this site and when it loads it displays the contents of the shop. so we get the images to load and display perfectly. there's an enlarge button which pops up a detail window for that item and a focus for it. however, if the images haven't fully displayed, they don't...
308 byte By
Rajan at 2007-11-18 1:53:56
Hello GurusHow can I create a Editable combo (user can select from a listor type directly) in HTML page? Also whne I enabled "Multi Selection" it changed as list box. Is there any way to create a multi selectoin combo box in HTML?Thanks in advance.Rajan...
182 byte By
randy909 at 2007-11-18 1:59:28
Is it possible in HTTP do action POST without<br/><form ... method="post"><br/> <input type=file...><br/> <input type=submit...><br/></form><br/>IE 6.0
667 byte By
vbasp at 2007-11-18 2:05:32
I have a problem. We know that we can open many windows with names to all windows by the command thru javascript:window.open('','name1','');Now I have opened suppose three windows with names win1, win2, win3. Now i want to check whether window win2 is opened or not and...
I have a <select> list with loads of <option> elements. I would like to provide an edit box that when typed into reduces the number of <option> elements to matching ones only.I wish to use JavaScript only, and I relaise I could use a large array, match the array, emply the <sele...
382 byte By
mce at 2007-11-18 2:10:00
Hi,i don know if you understand what i am talking about, but this is what i want now. i want to input chracters to an input windows on a html page, the chracters are not taken from the keyboard as usual, but it is taken from a "soft keyboard" embedded as an activeX running on the same html page on I...
385 byte By
Xeon at 2007-11-18 2:13:02
Now! Can someone be kind enough to show me a bare-bones, minimal, no frills example of how to jump to a certain location in a HTML document?(like those FAQ pages where there's questions and answers on 1 same page and when the user clicks a question, the user is taken to a location somewhere bel...
We are developing a thin client browser based application using struts frame work, where the User Interface contains Tree View. When I click on the Parent node, the controller should hit the database and get the child record.I am able to create the Tree view using Java script. I would like to know,...
i have created a multiple select list box. how to retrieve the indexes of the selected items if i selected more than one item in the list box. presently the property "selectedIndex" gives the first selected item only. but i want the indexes of all the items selected. ie; if i select 3 items from a c...
386 byte By
Xeon at 2007-11-18 2:14:27
I've attached my sample HTML page to this thread.When you open the page, you should see a text called "Red" and the font color of this text is blue.In the HTML code, how do I set this text color from blue to red?I know I can use a WYSIWYG editor to fix this, but I wanna know how to do this thro...
Hi all<br/>I want to put that text on my button but i want it to be on top of the other<br/>Here there a way to change line in a value of a button?<br/>EX:<input type=button name=top value=Hello[B]<br></B>??there
Hi All,The following function takes date input in the form of "d-m-yyyy hh:mm:s", verifies it and returns a date object.function str2dt (str_datetime) { var re_date = /^(\d+)\-(\d+)\-(\d+)\s+(\d+)\:(\d+)\:(\d+)$/; if (!re_date.exec(str_datetime)) return alert("Invalid Datetime format: "+ str_dateti...
328 byte By
Xeon at 2007-11-18 2:16:14
Now, I've attached my single-page form(only 3 simple controls)( to this thread.When the user types in his/her name in the text box and clicks the Submit button, the value(name, in this case), will be sent to my e-mail address. But for some reason, an error page always gets displayed instead. Th...
417 byte By
lord loh at 2007-11-18 2:16:32
==>What exactly is CLASSID ?I see it when certain components are embeded on a webpage and the registy is full of it!==>Is it windows specific ?I ask this as I never knew of a registry on linux or mac==>These must be unique! So how are they assigned? or assumed?Does a CLASSID on my system fo...
hi there,can I get the amount of pixel out of the length of an string in JavaScript?I have a table with several columns and each of this column has a fixed height and width. Now I want to put some text into the columns (TDs) and if the text ist too long to fit into the column HTML will normally stre...
This has nothing to do with java but if you know where i can get the html code to get rid of a banner on an angelfire site or something let me know. I started a website for a game that i play and i don't want to pay for a .com website yet. so i need to the code to get rid of the banner that app...
125 byte By
tomreed at 2007-11-18 2:19:58
I am trying to blank out the link shown in the address bar of internet explorer when my pages load. Can it be done?:confused:
279 byte By
mryogi at 2007-11-18 2:23:48
hi <br/>i am developing a website in which i am using div for absolute positioning of div's<br/>onmouseover event results in showing of menu's<br/>onmouseover works well in ie and opera <br/>but not in netscape<br/>is there any method i can solve this problem
79 byte By
stimpy_z at 2007-11-18 2:26:34
Is there some way to include a ".js" inside another ".js"?<br/>Ater Felis.
I have written an array (quantity data from a cookie) to form fields with a for loop e.g. document.write('<td><input name="quant'+[i]+'" type="text" size="9" value="'+ ard[i] +'"></td>');I want to allow users to change any of the quantity fields and wh...
I have designed a web pages in JSP. I want to implement 3 types of access to my web site. <br/>Does anyone know how to implement an access control system in JSP? Any hints would be most welcomed.<br/>Thanks in advance!
How can I resize (or hide) a frame (with javascript) when clicking a button in the same frame?
282 byte By
der124 at 2007-11-18 2:28:58
I was wondering if there are any algorithms for converting html to text. I've found some utilities, but those aren't what I need.<br/>I'm developing an application and one of the specs are HTML to Text Conversion.<br/>Your help would be greatly appreciated
489 byte By
vbasp at 2007-11-18 2:29:34
I have made a chat application in ASP which features private chat, addition and deletion of buddies. Now I have made it by refreshing the page again and again and fetching the messages from the database. But since I am refreshing the page again and again the performance is affected. I would like to...