Grrr Calling Javascript:parent.subwin_open
Have it working as an href link from a button, but cannot get it working as an error condition like:
if on.error then
something = "javascript:parent......."
end if
Is this due to server side parsing of asp ?
View Replies
ADVERTISEMENT
I am trying to create dynamic dropdown boxes that query sql. My scripts and pages work in IE, but they do not work in Firefox. Here are the relevent snipents of my code:
View Replies
View Related
I have a child window that has a button to close it. I would like the parent window to be refreshed (since action taken in the child would change the values in the parent). The code I have works, but I get that "Retry" popup... I would like to bypass that. Any suggestions? Code:
View Replies
View Related
How can I call asp function from javascript?
View Replies
View Related
i have created one asp page in which in the javascript code i have written one functions.
function date()
{
}
From another asp page i want to call the date() function. How do i go abt it.
View Replies
View Related
I'm new with asp and javascript. I have this javascript function (at the beginning of my asp page) to open new window:
<script language="javascript">
{
Function NewWin(pstrPageName)window.open(pstrPageName,null,"width=600,height=400,toolbar=no");
End Function
}
</script>
Users would fill out the criteria on the page and click OK. Base on the specified criteria, I build an html page (with dynamic pagename and data). I'd like to call the function NewWin from asp code (passing the pagename) to open new window. I tried:Call NewWin(strPageName) but got an error the NewWin is undefined. URL . Can someone help me to code this?
View Replies
View Related
Response.Write("<script>isFlash();</script>") is what I had attempted for calling my function isFlash().
I have added the following script at the top of my code, so I cannot see a problem here, is there a method in which you must go through in order to get this to work correctly, have I added the function call correctly?
View Replies
View Related
i have a problem statement like this:
<%
sub test()
---------
end sub
%>
<script language = "javascript">
function test1()
{
------------
<%test()%> // fine and works well if there is no response.write() in test() as i know.
}
</script>
now the problem is that how can i call test1 within scriplets or within test().
View Replies
View Related
i am looking to create a form that has a link that when clicked it passes to a javascript function and runs a js prompt to enter a figure. then when confirmed that figure entered becomes the new record in the database.
so far i am using things like this just to get it to display an alert so i know its working. Code:
View Replies
View Related
I have create a function in javascript and the function will return an integer type of value and i want to call that function in Asp code and use that integer value so please tell me how can i call that function.
View Replies
View Related
I'm trying to call a javascript function for a popup based on whether a name matches any entry in a database. If there is no match, it should do the popup function. I'm not sure how to call the script from within <% %> ,though. The following is the basic idea I'm going for: Code:
View Replies
View Related
I would like to call a javascript function using vbscript. Is this possible at all? If so, what should the code be?
View Replies
View Related
It's a simple validation page and was working fine until i made some changes to the next page.
A regular form that calls a javascript function, but suddenly i javascript function does not execute anymore. i tried calling other functions but none of them works, but when i treid onSubmit("javascript:alert('some text')") it works fine.
I tried debugging it in dreamweaver and i get an regular expression missing error number 1005 on the last line of the javascript.. that is ....
View Replies
View Related
I have run in to a very frustrating error.
I get this error:
Microsoft JET Database Engine error '80040e24'
Rowset does not support fetching backward.
Now I know it must be a cursor but I have tried every cursor under the sun but to no avail.
Just a few notes. The line that gives the error is
[VBS]oRS.MoveLast[/VBS]
I am using the JET.4.0 Driver to open the database.
Anyone ever run in to this problem? I have used this sort of script 100's of times with absalutly no side effects...until now Strange thing is the recordset doesn't support Bookmarks either (second )
View Replies
View Related
i have a form that pops up based on a click. the popup opens up correctly.
now what i want it to do is this.
1. submit the data to an asp page. that part i got working
2. close the popup box. have that working as well.
3. after processing the data on the asp page, direct to and refresh the
parent page that the popup was created from.
to be more specific....
i have a bracket page, where you click on the winners name to move them
over. works fine. that sends variables to a pop up box, where you enter a
score. that works fine. now when i submit, it only sneds the data to the asp
page, and even though the bottom of the asp page redirects it to the parent
page, it doesn't. it seems like it is trying to redirect to the popup that
doesn't exist anymore, so it does nothing.
View Replies
View Related
i have an aspx page. on that page there is a link that open a new popup page. Popup page contain some text fields. user fills that fields and press OK. By clicking OK I append the textbox values in the DataTable, which is already saved in the session
My Problem is that when that popup windows closes by clicking Ok i want to show that new information in datagrid on the parent page(which opened the popup page[window.open]). i have info in the session, but problem is that when i bind datagrid by using the session Datatable on the parent page.
View Replies
View Related
If I've enabled Parent Paths (PP) in IIS, but have installed the URL Filter
and disallowed ".." and "../" within links, am I covered from the
vulnerabilities of PP's?
This allows me to use PP's in #Include statements, but doesn't allow
visitors to use PP's in their links to access directories on my server.
Is this correct?
View Replies
View Related
I have a software that has generated a code for me, not sure if I'm allowed to give out names of other companies on here so i won't for now. anyways, the code has worked for a long time on my server just fine. Until I got a new server, same operating system and everything, i just cut and paste everything over from the old server to the new one. But for some reason now one of my sites will not let me use ".." in my code.
<!--include file=../2020applicationsconnections.asp-->
I would just place the "2020applicationsconnections.asp" file in the folder my current file is in, but then that messes up all the the linking that the "2020applicationsconnections.asp" file had in it. So is there any phrase, symbol, ect. that i should use to indicate a parent directory in this code? or is there some setting i need to change on my server that was set up on my old one.
View Replies
View Related
I have one asp file including another asp file in a seperate folder. The file of the parent is in a read only, but the child is in a write and read file. If i run the child alone you can write with it no problems, but if i try to write with it calling it through the parent it tells me that permission are denied.
So my question is: are file permissions inhereted by the child from the parent? Is there any way of getting around this besides moving the parent into the same folder as the child?
View Replies
View Related
I have a page(1) inside a frameset. The frameset opens from another page(2). I want when I change something on page 1(inside the frameset), the page 1 to be reloaded.
View Replies
View Related
i have 2 asp pages. the parent and the child. the parent has has a value doc_id which is null. and a button to open the child window. it has other variables and input fields.
the child window creates the doc_id.
Now heres the problem. I want to close the child window, and send the doc_id(created in the child) to the doc_id(in the parent). and close the child window.
But keep the original variables in the parent id. (e.g if the user entered their name in the parent window, then opened the child window, then created the doc_id, then closed the child window, i want to parent to have the user name, and the new doc_id)
View Replies
View Related
I have a popup from the parent window which allwos the user to add in new location. when the lcoation has been added succesfully. then thewindow closes and the parent gets refreshed. In particular, just the location listbox gets updated with the new value. the location listbox i generated from the database using asp.
View Replies
View Related
How to use server.mappath() parent folder correctly:
Server.MapPath("../test.asp")
View Replies
View Related
What do I need to do to write the URLs of the two identical iFrames in the textarea of the parent frame? Well, the iFrames are the same asp file, but the three listboxes in each iFrame make their URLs different. The problem is that upon selecting both iFrames listboxes, the 2nd iFrame cancels out the URL of the first iFrame written on the parent's frame.
View Replies
View Related
How can I access a web.asp code behind class-on from a code behind calss-function in a loaded web usercontrol. A.aspx loads control B.ascx . A's classA.function A displays info to a label on A.aspx .
I want to call classA.functionA from control B's class B.function B so that when I click on a button located on control B, the on click event fires class B function B which then calls class A function A which displays the info.
View Replies
View Related
I have a parent window (default.asp) and on this page I have an IFrame that displays the rest of the menu requests for the site. The url always shows the base url, never other pages because they appear in the IFrame - this is by design.
The content in the IFrame is dynamic and may scroll forever depending on how much data is retrieved from the db. If the user scrolls down the IFrame to view to contents, the top of the default.asp page scrolls with it until it reaches the top of the IFrame.
The problem is that when navigating through the site I can't seem to figure out how to get it to jump to the top of the default.asp page when the page in the IFrame changes. This causes the user to have to scroll up and down throughout the site making it unappealing for navigation reasons.
View Replies
View Related
I know that IIS 6 disables parent paths by default and I see in M@rco's blog that he "hates them with a vengence." The problem with not using them (at least with includes) though, is that your code files cannot be structured in a useful way, otherwise you will not be able to redistribute your code or to move your folders. Code:
View Replies
View Related
is there anyway to get the title of the window that opened a new window? in javascript it would be window.opener.document.title but is it even possible to get that with asp?
View Replies
View Related
i have a popup from the parent window which allwos the user to add in new location. when the lcoation has been added succesfully. then thewindow closes and the parent gets refreshed. In particular, just the location listbox gets updated with the new value. the location listbox i generated from the database using asp.
View Replies
View Related
I have an ASP page form that will be used for data entry. I am redoing a MS-Access Runtime application that has been used for a few years.
One of the issues; "What to do about the conditional visibility code" I had set on several of my Form objects.
What happens is, based on what value the user selects from a drop down box; additional fields would become visible requiring input. What I came up with in ASP was a POP-Up Window.
I got the window working by downloading some code from a tech site and I set up a "Switch” statement to conditionally the POP-Up window's initiation.
I set up users input fields and I tested it and it works fine.
The PROBLEM:
With the Parent window still open, how can I pass the values from the POP-UP back into it for use? I mean without closing the Parent Window and Losing all the data values entered in the previous form fields.
How do I set it up so that when a user submits the Parent window data the POP-Up values go with it? I've have tried the standard POST Method but the Parent can not see the POP-UP window Form Field values.
View Replies
View Related
I have an asp application where in a certain page you have to enter a PO number, if you click the search it will bring up the 15 most previous PO number w/some information.
I want to be able to have those PO Numbers to be links, that when you click them it closes the new window(I have this) and the parent page can grab the PO number clicked and display that in this text field how would I go about this?
View Replies
View Related
I have a screen, screenA, from which I call another screen, screenB, with a form on it. ScreenA has an ID that is captured in a variable called strShortName. (That variable is defined in another file called into ScreenA via an include.) I want to write that name as the value in a hidden field in the form on screenB. How can I do that?
View Replies
View Related
I am trying to redirect back to a child form after a submit with a file upload and verification of file data. I would like to go back to the form and display a message returning the status of the data. Is that possible? Any suggestions on an alternate? I am using classic ASP, javascript and vbscript.
View Replies
View Related