473,471 Members | 4,095 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Button question

14 New Member
My HTML.doc uses:

<INPUT TYPE="button" VALUE="EDIT" /> and a JS doc to open a new window.

The window is actually opened in the JS with where a switch statement uses the value of the button to invoke

window.open("EditPage.html","Edit",
"toolbar=yes,resizable=yes,status=yes,width=500,he ight=500");



How do I skip the JS doc and open the window from the HTML without using a picture and a button. I guess what I'm wondering is there a way I can open this window with something like:
<INPUT TYPE="button" VALUE="EDIT" SCR="EditPage.html" />

If anyone can point me to some code I would apreciate it.

Thanks
Dec 4 '06 #1
3 1136
AricC
1,892 Recognized Expert Top Contributor
My HTML.doc uses:

<INPUT TYPE="button" VALUE="EDIT" /> and a JS doc to open a new window.

The window is actually opened in the JS with where a switch statement uses the value of the button to invoke

window.open("EditPage.html","Edit",
"toolbar=yes,resizable=yes,status=yes,width=500,he ight=500");



How do I skip the JS doc and open the window from the HTML without using a picture and a button. I guess what I'm wondering is there a way I can open this window with something like:
<INPUT TYPE="button" VALUE="EDIT" SCR="EditPage.html" />

If anyone can point me to some code I would apreciate it.

Thanks
Not really sure what you mean by "open the window from the HTML without using a picture and a button" but I see a problem with your button the SRC attribute is only available if the input type is image. Please clarify what you would like to happen.
Dec 4 '06 #2
NewGuy
14 New Member
Thank you for your response.

I was frustrated yesterday and gave up. Last night I read some more and found out what I wanted.

I was trying to open a window with a button and eliminate the JS that I was using to do that.

Thanks again. I'm sure this is not my last question.
Dec 5 '06 #3
AricC
1,892 Recognized Expert Top Contributor
Thanks again. I'm sure this is not my last question.
Good! Ask more. What solution did you come up with?
Dec 5 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: PiedmontBiz | last post by:
Greetings I have written an online survey with 110 questions. I use javascript to cycle thru all the questions which are displayed in an iframe. I keep track of the question number using a...
4
by: Jared | last post by:
Radio Button or Check Box and Event Procedures I need to insert either radio buttons or check boxes onto my form. I'm not sure which to use, or if there are other options. I am using the buttons...
3
by: Frederik Vanderhaegen | last post by:
Hi, I've written a sort of wizard in which the user has to answer some questions. This wizard contains a radiobuttonlist en two buttons (back and next). With the first question there's no...
7
by: MgGuigg | last post by:
Hello all, This is my first time posting a question to this forum, so here is hoping I am following protocol. I am scraping the rust off my old Basic programming skills, and have just recently...
15
by: Oleg Subachev | last post by:
I need to programmatically invoke from other class Click event of the Button on my Form. Button.OnClick method is protected, not public. How to perform this ? Oleg Subachev
5
by: visu | last post by:
Hi this is a question asked in this group two years back.. No answer for this question till date. now i am in the same situation of the questioner.. to find a solution for this problem. Can any...
8
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I disable the right mouse button? -----------------------------------------------------------------------...
8
by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= | last post by:
I am working with Visual C# window and in my application I need to use a button ( NEXT) . The button should displays one panel with its objects each time it clicked. I already developed the codes...
1
by: confusedofphp | last post by:
Hi all, Im very new to php. Currently im creating an online exam system which uses php and mysql as the database. I have registration and login page which works pretty fine. I had problem when it...
19
Frinavale
by: Frinavale | last post by:
I'm in the middle of implementing a custom Ajax enabled Server Control. At this point I need help finding the answer to an Ajax Framework question...here it goes: I have a Server Control that...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.