Alternative Buttons

Looking for a way to switch between submit buttons. The default will be "start" and when the tech clicks on that, the button will start a timer, which I have already set.

The button then will switch to "stop" and when a tech has completed a job and clicks "stop" the timer will also stop and switch the button back to start.

I know how to track the time for each tech that starts and stops a job. I need a jumpstart on how to switch onclicks for two buttons.

View Replies


ADVERTISEMENT

Alternative Of PHP

I have got the following PHP code which I am trying to convert to
ASP.cant find a replace function for Unset in asp which will discard the variable
if ($categoryid == "all")
{
$sql = "SELECT * FROM products where shopinspection=$shopinspection";
unset($HTTP_POST_VARS['categoryid']);
unset($HTTP_POST_VARS['shopinspection']);
}
else
{
$sql = "SELECT * FROM products where categoryid = $categoryid";
unset($HTTP_POST_VARS['categoryid']);
}
unset($HTTP_POST_VARS['Submit']);
while (list($key, $value) = each($HTTP_POST_VARS))
{
if ($value != "" )
{
$sql = $sql .=" AND $key=$value";
//$sql = $sql .=" AND solesource = $solesource";
//echo "<strong>$value</strong>";

View Replies View Related

Alternative To MS Access?

if there is any alternative software to MS Access for creating .mdb file?

View Replies View Related

Alternative Querystring - Using / Instead Of ? And &

Is is possible to pass parameters with this URL:
www.mysite.com/article/sports/football

instead of the usual method:
http://www.mysite.com/article.asp?c...tegory=football

And, if I need to add more parameters at a later time, may I then use
something like:
http://www.mysite.com/article/sport...321&language=EN

Also, I am using ASP, not ASP.NET.

View Replies View Related

Alternative To IIS On XP Home?

i have read a few articles saying that you can run IIS on XP home but it does not look too reliable to me and am not too willing to try, so is there an alternative set-up i can use to test my ASP before uploading?

i say this as all ftp hosts seem to want your code pre-tested before uploading .

View Replies View Related

CDONTS Alternative

I would like to set up an ASP page that sends an e-mail, but the server I'm working on doesn't have CDONTS installed for security reasons. I don't have any control over the server. Are there any alternatives to using CDONTS that will work or a better option?

View Replies View Related

Alternative Of #include

Is there any other way or trick to include an asp file in my ASP file than the classic html #include. In fact my filename (which is to be included) will be coming from database and #include statement doesn't support any kind of variables.

View Replies View Related

Alternative To TEXTAREA

I know this is not a core .asp issue, but I'll try anyway. I've used the TEXTAREA element for a while, but as you know it's limited when it comes to formating part of the text inside a TEXTAREA.Does anyone have expirience using other text cointainer objects (Java/ActiveX), which is easy to use and easy to read values from when sending a form to a procedure .asp page?

View Replies View Related

IFrame Alternative

does someone knows what's the alternative of Iframe. Actually I have to use IFrame and it works in IE but NS 4.74 to NS 4.78 doesn't support IFrame.

So, I have to use alternative of IFrame so that my application can work in both IE and NS 4.74 to NS 4.78

View Replies View Related

WinZip / Other Alternative

I'm using ASP and I need to generate a ZIP file that contains a list of files that I'm pulling from a database. I've determined WinZip's command line parameters so that I can use it, the problem is I'm unsure how to run WinZip on the server.

Set WshShell = Server.CreateObject("WScript.Shell")

WshShell.Run("c:winzip.exe")

Assuming this would work, how do I get the process to terminate upon completion? I can't have 20-30 WinZip applications running on the server, I need it to handle what I send to it and then close. Maybe I'm taking the entirely wrong approach here.

View Replies View Related

Server.MapPath Alternative?

I have an asp file that gathers info from a form and sends to the database. im now changing the location of the database from the root path. I think that because of this i cannot use Server.MapPath method of sending data.

Coudl someone please help me out and let me know how i would change the code? Im quite new to this as you could probably see. Code:

View Replies View Related

Alternative For CDONTS.NewMail

Is there an alternative for CDONTS.NewMail for sending email? according to this article , CDONTS.NewMail works only on Windows NT/2000 Operating Systems.

Is there an alternative class that works on Windows XP to send email?

View Replies View Related

Alternative To Response.redirect

Is there another command in asp that I can use to send users to a different page.

I use response.redirect alot in our site and I suspect it is causing us ranking trouble as it is basically a 302 redirect.

I use it like this.

If user is not logged on > send him/her to the log on page and attach a variable showing where the redirection came from so they can return easily.

Is there another way?

View Replies View Related

Alternative Table Colours

anyways what id like to do is in my "do while" loop i want to create different background colours so its easier to read with large tables.

I know the code should be something like:

If variaiable isnot true then
bgcolour = blue
Else
bg colour = red
end if

i am, however, not quite sure ont he correct syntax for it?

View Replies View Related

Select Case Alternative

I would like to know if there is alterntiave to using Select Case?I have over 80 files that a user can select from a drop down list and 'read'. Rather than writing out 80+ lines with INC files, what is the other less code option?

View Replies View Related

Round Function Alternative

Good:
246/10 = 24.6
round(24.6) = 25

Bad:
246/100 = 2.46
round(2.46) = 2 (I want 3)

If I have a decimal, I want to round up. Always. How do I achieve this in ASP?

View Replies View Related

Alternative To Session Variables

i am using cookies to save a users login information which is then used again on another page to save data to a database. This works fine on certain clients' machines, but on others there is an error. Am i right in saying that it is because cookies are not enabled on their machines? If so, is there another way i can do this?

View Replies View Related

Alternative To Personal Web Server?

Is there a free ( has to be free ) web server that can run active
server pages like pws?

View Replies View Related

Alternative To Response.write

I'm trying to build a contact form using ASP. The form works properly but the code I found has "Response.write "Your email..." which appears on a white page after the form is successfully submitted. Is there a different function I can use that will redirect the use to another .html page (like a "thank you for submitting...") instead? Code:

View Replies View Related

Alternative To Username:password

Are you suffering from the same problem? In the past, you want to access to a secured page protected by Windows Authentication (e.g. Exchange OWA), you will make such redirection "http://usernameassword@domain/exchange/".

However, because of security and Microsoft's latest patch, it will be no longer working. I wonder what we could do now if we want to do the same.

View Replies View Related

'StrConv' Alternative (I Want Propper Case!)

In VB there is a command that can be used to convert a string into proper case, e.g...

msgbox StrConv("HELLO", 3)

Would say "Hello". However, there is no such function in ASP (it seems to be one of the few commands that was not exported into VBS....god I miss DoEvents too....used to abuse that command.....lol).

Anyway, do you guys know any methods that can be used to do the same thing? Basically I have a name all in CAPS, and I want it to be converted into Proper case so that it's easier on my visitor's eyes when they see it.

View Replies View Related

CDONTS Alternative Text Content

I'm using CDONTS and am trying to send an email out which displays in HTML for HTML-enabled clients, and plain text for non-HTML clients. Unfortunately I am using IIS4 so CDOSYS is not available (so I can't use the handy .Textbody or .HTMLBody properties). How would I go about it with CDONTS?

View Replies View Related

Alternative To <select> For Large Number Of Values?

My users have to select an value from a fixed selection of values. The
obvious choice of control for such a requirement is to use a <select> (i.e.
a combo box).

My problem is that sometimes, these combo boxes will have a *large* number
of values. There could be any number of values in them from 5 to 5 million
(unlikely it would be this large but possible).

Obviously 5 million is far too much to populate a <select> control with.
Does anyone have any suggestion as to how a user could select a value from a
*potentially* very large selection of values (i.e a suitable alternative to
the <select> control)?

View Replies View Related

Powerful MS HTTP Request Component - Alternative To ServerXMLHTTP!

Having just "discovered" it myself, I thought I'd draw everyone's attention to the fact that the WinHTTP 5.x object (which is used behind the scenes by our good friend the ServerXMLHTTP object) can be used directly in scripts.

This is useful because the ServerXMLHTTP object encapsulates XML-related functionality which is unnecessary for performing most simple HTTP requests, and thus by using the WinHTTP object directly you achieve higher performance, scalability, and reduced memory consumption... AND WinHTTP offers quite a few features that ServerXMLHTTP does not expose - including the ability to specify a proxy (and an exclusion list) from within the script (or to acquire them from Internet Explorer's settings), IPv6 support, and HTTPS/SSL support!

For more information .....

View Replies View Related

ASP Buttons

Can someone tell me how to write the code for a button that when pressed, it will write code to the page and execute it. Like a button that will grey out and display text.

View Replies View Related

Buttons?

Is it possible to make command buttons in asp that send a single variable to a new page without using forms? I've got a page long form but on each entry in the form I want to place a command button that opens up a page.

View Replies View Related

Using Buttons

I'm trying to just click a button and make that button take you to another page, this should work, but my syntax must be off.

<input type="button" name="go_button" value="push me" onClick="pageTwo.asp?id=<%=var1%>">

I think there is something wrong with using "onClick" I realize this is an event and you can't have events in ASP but I thought this was easy. I must be missing something.

View Replies View Related

Buttons

i want that besides every word i am printing from the database, will be a nice botton that will do some operation inside the database. imagen list of names and image button and when you click this button it updating some column field.

View Replies View Related

Buttons

1. is it possible for me to put two buttons in one asp form?
2. if possible, how can i separate the functions or use of the

two buttons, like:

the first button will display total no. of students
the second one will display the total no. of teachers.

View Replies View Related

How Can I Have Two Buttons In The Same Form?

I have an edit and delete button. The delete button is using the form action to indelete.asp. I also want to use the edit button which needs to use the form action.

I tried putting the edit button under a different form name but then I could not get the values to pass. Do I need to do this through a javascript function? Or maybe a different method?

View Replies View Related

3 Radio Buttons

i have 3 radio buttons on the form plain simple form

<input type="radio" name="Cars" id="Cars" value="vehicles_Cars">Cars
<input type="radio" name="Trucks" id="Trucks" value="vehicles_Trucks">Trucks
<input type="radio" name="Bicyles" id="Bicyles" value="vehicles_Bicyles">Bicyles

what i want to do is when the user clicks on one of them show a different form
if the user selects cars show cars forms this form will have different fields and different validation
if the user clicks on trucks show trucks form and that will have different fields and so on

View Replies View Related

Css Buttons With Asp And Frames

on a single webpage i know howto highlight the current button in a css menu with something like an ID in the body or in the li of that page.

I create a website with frames.

how can i highlight the current button the left frame when it shows the page in the rightframe Code:

View Replies View Related

Next / Previous Buttons

I'm extremly new to asp and web development. Ive created a basic online phone book for our intranet which works lovely talking an sql database. only thing is i cant get next and previous buttons to work. I think its because it forgets the search the user requested?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved