var vOHTML = $iframename.document.location.outerHTML;
try this...
or you can append them yourself (dependant on how static the info is...
var vHTML = "<HTML><HEAD>head stuff here</HEAD>" + $iframename.document.location.innerHTML + "</HTML>";
it all depends on what you're...
Not exactly sure what you're after but something like this should be possible in javascript:
var vHTML = $iframename.document.location.innerHTML;
This will pull all the inner html into a variable for you to post in a form (ie4+). However its not always as simple as that - netscape will...
you could try putting this into your html at the bottom of the page:
<!--#exec cgi="/cgi-bin/scriptname.cgi" -->
works on our intranet (all IE so I have no idea about compatibility with other browsers)...
Joe
sorted (if anyone is interested):
should have been:
var oEle = opener.document.createElement('option');
rather than:
var oEle = document.createElement('option');
simple !
Joe.
apologies if this has been asked before, search is still down so..
this is what I'm after:
user clicks on a link.
opens a popup window containing text field and button.
user enters text and submits.
This text is added to a select object on the parent window. Popup closes.
I'm trying to use...
Something like this in the header "should" work, I'm not sure why it wouldn't (it works for me, is your image huge?)...
var myimages=new Array();
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++) {
myimages[i]= new Image()...
glad to be of some help (its not often I can!) and ta for the star :-)
I've been stuck in the past and this sites helped me no end so I'm just "passing it on", as it were...
Joe.
Right.
Have got the following to work (apologies for the huge post again). Its a cut down version of what you gave me mashed into the script I posted above.
Shouldn't be too much work to get it looking as it should.
hope it makes sense
Joe.
here we go :-) :
#!/usr/bin/perl
use CGI...
unfortunately I'm working on an intranet so no public access available I'm afraid. It is used on a daily basis though.
Checklist/ thoughts. (sorry if these are obvious)
1. ENCTYPE set correctly.
2. The params are named correctly consistently between form and script.
3. The inputs are not...
might be a bit of a nobrainer but have you tried putting in the full, absolute file path to the file with leading forward slash etc:
A href="/http_server_root/briefs/euromes31eng.pdf"
I've tried your html using one of my own files and it seems to work okay.
Joe.
I'm guessing you're trying to create an upload file form and perl script.
rather than trying to find where you're going wrong I'll post what works for me. I haven't tested what I've posted it but it should be pretty self explanatory.
any problems / further questions let me know
cheers and...
How are the menus created ?
There is a problem with drop down select boxes and trying to dynamically place / create DIVs etc over them. These components are 'windowed' and as such will stay at the 'front' of any page. These links may help...
the following gets ALL the selects from the form. scrolls through and sets disabled according to the checkbox:
<HTML>
<HEAD>
<script language="javascript">
function testCheck() {
var aSelects,vLength;
aSelects=document.Relationship.getElementsByTagName("SELECT")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.