Jump to content
php.lv forumi
  • 0

Saglabāt ifreimu failā


944s

Question

Kā iespējams automātiski saglabāt ifreimu failā?

 

<script language="JavaScript">
var src = 'www.kautkada_lapa.lv/lapa.html';
function saglabat() {
   document.getElementById("hiddenContent").src = src;
   // šeit ifreims automatiski saglabātos tekošā direktorijā, failā mana_lapa.html
}
...
</script>
...
<a href="#" OnClick="javascript:saglabat();">Saglabāt</a>
<iframe id="hiddenContent" width="100%" height="300"></iframe>

Edited by 944s
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D

mnjam :D :D:D:D:D

 

Atvaino :)

 

Php ir koda kabals kas izpildās servera pusē pie klienta tas nemaz neatnāk..

 

Attiecīi.

 

1) Tu ieraksti adresi php.lv

2) tev rada loading... bet php.lv serveris tikmer parsee php un veido tev html

3) tev rada loading... php suuta tev savu sagatavoto html kas satur arii javascript

4) tev sak neradit loading.. tavs parluks sagremo html un parada tev vizualo rezultatu

 

 

Cik noprotu vienigais jedzigais variants kurs der lietotaja diska korigesanai (papildinasanai dzesanai) ir Java .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...