Window Is Undefined

<%
response.write(test())
%>

<script language="javascript" runat="server">
function test()
{
var s = window.dialogArguments;
return s
}
</script>

from my asp page1 i am calling the showmodaldialog and passing the argument. this is the code i was written in asp page2. it's thrown an error like.

View Replies


ADVERTISEMENT

Undefined Function

My site web is using database in ACCESS. I'M using a Table and a Query, the table work fine but the Query don't work.I got the error : Undefined "NZ" function.
I did some search and found that when query are used, it use a function "NZ" to replace NULL with " ". But ASP can't use that. It's what I understood.
I found some code to repair this but they modify my Database, and I don't think I should do this because maybe it could crash it.Somoene know how to get ride of this with out modifying the DB?

View Replies View Related

Variable Undefined

I got this error:

Error Type:
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: 'myapp'

When I was doing this:

Set myapp = Server.CreateObject("MyAppCOM.MyApp.1")

Why?

View Replies View Related

Undefined Error

Is there a way of detecting what the causes is on a undefined error without using asp?

Asp scripts have stopped working on my site. HTML pages still work, but not if I change the extension to ASP. I get a 500 error, even when the asp script only contains HTML.

My host is Fasthosts but my reseller never returns my emails.

View Replies View Related

Undefined Error

I am getting an undefined error on the SELECT line that contains locaiton_form. Can someone help me fix this error.

<html>
<body>
<form action="connopen.asp" method="get">
First Name: <input type="text" name="first_name"><br>
Last Name:<input type="text" name="last_name"><br>
<form name="location_form" method="get">
<select name="Location" onChange="location_form.submit();">
<option value="null"<%IF loc_id = "null" THEN%> selected="selected"<%END IF%>>
<option value="MAE"<%IF loc_id = "MAE" THEN%> selected="selected"<%END IF%>> MAE
<option value="LCQ"<%IF loc_id = "LCQ" THEN%> selected="selected"<%END IF%>> LCQ
<option value="GSO"<%IF loc_id = "GSO" THEN%> selected="selected"<%END IF%>> GSO

View Replies View Related

AdUseServer Constant Undefined

I have an ASP page in which I reference quite a few ADO constants such as adOpenStatic, adLockReadOnly and they work fine but a reference to adUseServer comes up as undefined?

I have a typelib definition in that page:

<!--METADATA TYPE="typelib" uuid="00000205-0000-0010-8000-00AA006D2EA4" -->

For the time being I used the constant 2 to replace that reference - I hope
that is correct?

Any ideas on why that constant remains undefined?

View Replies View Related

Variable Is Undefined: 'JMail'

Error shows in browser as

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'JMail'

/SendEMail2.asp, line 38 ....

View Replies View Related

Runtime Undefined Error

I have the following asp code and the functionality works, but before it works a dialog box pops up and says 'Runtime error 'Episodes' is undefined. I don't know how to get rid of it. Anyone have any ideas?:

for i=1 to 5
response.write "<tr><td><a style='text-decoration: underline;' class='biosLinks' href='http://www.url.com/Episodes/episode" & i & ".wmv' onclick='window.open(Episodes/episode" & i & ".wmw); return false'>Episode " & i & "</a><br></td></tr>"
next

View Replies View Related

Array Error: Variable Is Undefined

Can someone point out why this is giving me the error "Variable is
undefined: 'arrProducts' "

<begin_code>

Dim m_arrProducts()

Sub SerializeCart()
ReDim m_arrProducts(m_intCartCount -1)
response.Write("ARRAY: " & IsArray(m_arrProducts) & " Cart Count: " &
m_intCartCount)
For intCounter = 0 to m_intCartCount - 1
response.Write("product 1" & "<br/>")
Next
End Sub

<end_code>

the Response.Write prints "True" for IsArray and "2" for m_intCartCount.

View Replies View Related

'undefined' Form Input Value Inside JS Function

I'm developing an account lookup, mostly in ASP, that displays a list of radio buttons to select one account from those found in a recordset. Here is a snip of the account display, after the recordset is populated: Code:

View Replies View Related

How To Pass Values From Parent Window To Popup Window In Server Side?

1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.

I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:

View Replies View Related

Syntax Error (missing Operator) In Query Expression '''undefined'''.

I am trying to insert values into a database using an sql statement that i read from a table that contains all my different sql commands. The sql statement is stored in the following way in the table: Code:

View Replies View Related

How To Return Selected Value In One Window To A Main Window

I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??

View Replies View Related

Keep Value's Of Opener Window When Return From A Popup Window

I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.

The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.

Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:

View Replies View Related

Pop Up Window With JS

i am opening a file by window.open by clicking on a button.
how i can validate that button is clicked or not.
means file is opened or not through javascript.
all time button.clicked returns false although file is already opened the code is:
if(document.frmBuyers.bankbtn.Clicked!=true)
{ alert("Enter The Bank Details") document.frmBuyers.bankbtn.focus();
return false;}

View Replies View Related

New Window

how to Positioning new Window near the button i've made, in this case i have a Calendar Button, but the position window that open the calendar can't be fixed, so when I scrolled the page behind calendar window, the calendar window moving too....
I've read from the MSDN, but there's no way too fixed the coordinate point to the calendar button

View Replies View Related

Pop Up Window?

I have a simple asp page that draws 3 fields and a hidden "Row_Id" from the Database.
I want to be able to click a "more info" link and take the Row_Id over to a new page
which displays all the info for that particlular user.
Would I use a response write method?
I can get it to work using a form button but It wont open in a pop up.

View Replies View Related

Pop Up Window

Is it possible to have a pop up window come up once someone logs in. Inside this window, it have a video of another person with a greeting, and other information? Has anyone ever done something like or similar? Other than ASP, what other technology is needed, FLASH?
Come someone show me an example of something like this? All help is greatly appreciated. The thought is to distribute these pop up windows (or better solution if someone knows of something better) to all our dealers across the nation. Each dealer will have its own personal inside sales rep and direct line for personal assistance.

View Replies View Related

Pop-up Window

i have to pop-up some reminders in a new window to the users . it is just like when we open a website ads related to that site come in new window.

what i have to do that , when a specific user logs in , a new window will open to remind him about some thing. i think , you will be getting my requirement.

View Replies View Related

Window Sizing

Is there a way to set the window size on a

<form action="add.ASP" method="POST">
<input type="hidden" name="AComputer" value="<% =AC %>">

This open in a full window

I have this other way without using the form

<input type="submit" value="ARecord" name="Add"
onClick="window.open('add.asp','add','width=500,height=300' )">

This sizes it for me nice, but I can't pass the values I need.

I want to pass AC and have the window size 500 X 300

Is this possible?

View Replies View Related

Composer Window In Asp.net

I am developing an web application in asp.net using visual studio 2003, where a user have to fill some description. Along with simple text, the user may need to paste some hyperlinks and images. (like a yahoo composer window).

View Replies View Related

Close Window

Can I use ASP code to close the current window?

View Replies View Related

Window Cannot Close.

i have quotation_start.asp which was set to be a small window (height=250, width=500). there is a YES button and some data on this page. when user clicks YES, data will be saved into database, quotation_start.asp will be closed automatically and a new page, quotation_admin.asp will appear in the main window at rightFrame. everything is ok except the quotation_start.asp never close. it remains there. here is the code:

View Replies View Related

Open A Window.

I would like to open a new window (Function is called NewWindow and is writtent in VBscript) when a user submits a form. All the samples I found on the web indicate something like the following: Code:

View Replies View Related

Delete In The Same Window

I have this code where I can check mark the items I want to delete and hit the submit key and it will delete the records, but the problem is that when I hit submit it opens another window for the same page and I can see that the records are the deleted, but the page where I checked marked the boxes to delete the records is still there and its still showing the records.

I dont want to open another window, I want all this process to happen in the same page and when I click on the delete button it should delete the records and the same page should refresh. Code:

View Replies View Related

Pop Up Window Problem

i'm developing a site using asp and created a pop up window that gives the user the possibility to click on the image (in this case i associated the pop up to a image field) and see a detailed information relative to that exact picture...
the problem is when i click on the image the page that i use as pop up doesn´t give me the image, reporting a error which i belivie that related to the image's ID.!

View Replies View Related

Open New Window

how can i open a new window with a if statment but still getting variables values?

tit=Request("title")
if x=1 then
something
else
Response.Redirect("<A href="http://www.test.com/lookup?q="&tit">http://www.test.com/lookup?q="&tit")
end if
I donīt mind using java, but i donīt know how

View Replies View Related

Open Window

I am working on a website and have a couple links that open up a new window. My webpage is .ASP as well as the windows I am opening. Currently the link open into a new window. However, I would like to be able to set the the size of the window that is opened.
This is the code I am currently using:

<p><a href="Search/search_owner1_form.asp" target="reportWindow" class="style2">OWNER 1</a></p>

View Replies View Related

Opening A New Window From Asp

I'd like to redirect from a certain page, to an external page(an external site), with certain parameters. of that window.

There is nothing to do if using response.redirct,
but is there another option?

For example, I would like to open a new window, that will have a cerain dimensions, and that the url of that window is... In javascript it is not a problem of course. What shall I do in asp???

View Replies View Related

Open In Another Window With Asp

I have an the following asp. How to have this asp to open in another
window when it is called?

<% something %>

View Replies View Related

Maximise Window

Is there a way in ASP that I can ensure that the browser window is always a certain size ?

View Replies View Related

Open New Window

I have a submit button that a form uses to submit the contents of that form to another page.

<input type="submit" class="input" onclick="this.form.action='checkname.asp';">

Is there any way to open a new window and perform the action in the onclick event?

View Replies View Related

Image In A New Window

I would like to place a hyper link in an asp file which opens a new window with an image in it when clicked on. Is the code to do this difficult ?

View Replies View Related







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