POST genom Javascript:openPage|Programmering / Grafisk formgivning|Forum|Nordichardware

Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
The forums are currently locked and only available for read only access
sp_Feed sp_TopicIcon
POST genom Javascript:openPage
Frodo
Kommer du hit ofta?
Medlem
Forum Posts: 663
Member Since:
July 18, 2003
sp_UserOfflineSmall Offline
1
April 26, 2004 - 9:42 pm
sp_Permalink sp_Print

Tja.
Jag vill ha igenom en

så att det öppnas ett nytt fönster (utan nånting, ingen location, ingen scrollbar) men POSTen skickas inte igenom om man använder:
   <script language=javascript> 
<!--
function openPage(PageToLoad)
{
window.open(PageToLoad, "newWindow", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=600, height=600")
}
//-->

</script>
<form action="javascript:openPage('login.php')" method="post"></form>

Hur ska jag göra?

zcorpan
Kommer du hit ofta?
Medlem
Forum Posts: 848
Member Since:
December 26, 2003
sp_UserOfflineSmall Offline
607674
April 28, 2004 - 7:31 am
sp_Permalink sp_Print

Prova:

<form action="#" method="post" onsubmit="javascript:openPage('login.php')"></form>

Vet inte om det funkar... 😉

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1030
Currently Online:
Guest(s) 407
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967

 

Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL