MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Scripting is not working for me
Current time: 01-29-2021, 01:40 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting is not working for me
05-28-2011, 06:59 PM (This post was last modified: 05-29-2011 03:11 AM by david.)
Post: #1
Scripting is not working for me
I am using a private instance of webpagetest and all works well expect when using scripting.
The script I am using is below with the simple aspx webform. Can anyone spot what I am doing wrong?

logData 1
navigate testform.aspx
setValue name=textfield1name 1
setValue name=namefield1name 2
submitForm name=testform1

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<script runat="server">
protected void Page_Load(object sender, EventArgs e)
if (Page.IsPostBack)
results.Text = Request.Form["textfield1Name"] + " " + Request.Form["selectfield1Name"];

<html xmlns="">
<head runat="server">
<title>test page</title>
<form id="testform1" runat="server" >
<input id="textfield1Id" name="textfield1Name" size="20" />
<select id="selectfield1Id" name="selectfield1Name" >
<option value="1">First Choice</option>
<option value="2">Second Choice</option>
<option value="3">Third Choice</option>

<input type="submit" value="Submit"/>
<p>Previous Results : <asp:Label id="results" runat="server"/></p>
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Scripting is not working for me - david - 05-28-2011 06:59 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)