Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
12-13-2007, 01:46 AM #1
- Join Date
- Dec 2007
- Thanked 0 Times in 0 Posts
The reason for this is the company I work for has introduced a web based scheduling program, at our location we need an hour by hour break down of staffing and their program does not offer this. I would like to be able to generate this without having the user save the html to a local file and then upload it to my server.
12-13-2007, 12:48 PM #2
- Join Date
- Jun 2007
- Thanked 619 Times in 599 Posts
unless the framed page will allow you to run your own scripts on that page, you won't be able to easily do what you describe.
one way around it would be to use a pop-up window instead of a frame.
make sure you include the feature to display bookmarks.
all that would need to be done is:
create a new form tag, method = POST, action=yourPHP page.
add an input to that form.
set the input value=document.body.innerHTML
submit the form.
this must be done using a bookmarklet, or the security limits will kill it.
read up about these methods here.Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com