Cibiņš Posted February 16, 2010 Report Share Posted February 16, 2010 (edited) Tātad lieta ada ka uz Firefoksha kā jau vienmēr viss ir ok, bet nau saprotams gļuks kapēc IE izmet erroru "Webpage has expired".. forma.php <form method="post" id="formaaaaaaaa" name="" action="?pg=contact&op=sendrequest#contacts"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><label>Jūsu e-pasts <input name="email" type="text" id="askEmail" /> </label></td> </tr> <tr> <td><label>Jūsu ziņojums vai jautājums <textarea name="request" id="ask" cols="" rows=""></textarea> </label></td> </tr> <tr> <td align="center"><label> <input type="submit" name="button" id="buttonAsk" value="Submit" /> </label></td> </tr> </table> </form> processor.php if ($op == 'sendrequest'){ if(!$sendermail || !$senderrequest){ echo '<script type="text/javascript">$.prompt("Nav aizpildīti visi lauki!",{ buttons: { Ok: true } })</script>'; include 'forma.php';} else {echo '<script type="text/javascript">$.prompt("Super, malacis!",{ buttons: { Ok: true } })</script>'; include 'forma.php';}} else { include 'forma.php'; } Edited February 16, 2010 by Cibiņš Quote Link to comment Share on other sites More sharing options...
2easy Posted February 16, 2010 Report Share Posted February 16, 2010 (edited) kurā brīdī izmet to "erroru"? pirmo reizi ieraksti browserī adresi, ver vaļā formu un uzreiz expired? anyway tam vajadzētu būt saistītam ar header() un pagātnes http Expires Edited February 16, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted February 16, 2010 Author Report Share Posted February 16, 2010 (edited) kurā brīdī izmet to "erroru"? pirmo reizi ieraksti browserī adresi, ver vaļā formu un uzreiz expired? Nope. Nododot formu apstrādei ar Submit pogu. Pof vai atstāj tukšu to formu vai nē. Šā vai tā - tas expired, nu kā internet explorer izmet to erroru savā dizainā, lapā utt. Edited February 16, 2010 by Cibiņš Quote Link to comment Share on other sites More sharing options...
2easy Posted February 16, 2010 Report Share Posted February 16, 2010 uztaisi mazu vnkāršu formu kkur atsevišķi, kur ir tikai 1x lauks. submito viņu. tad arī tas pats? Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted February 16, 2010 Author Report Share Posted February 16, 2010 (edited) Es tā sapratu taga ka vaina ir kkur šeit jquerijaa: <script type="text/javascript">$.prompt("Nav aizpildīti visi lauki!",{ buttons: { Ok: true } })</script>'; vai arii otrajaa, jo ja liek $errormessage = 'blabla'; ta viss notiek..tik velns zin kur tajā impromptu fīčā ir jāmaina lai strādā arī uz ie.. Edited February 16, 2010 by Cibiņš Quote Link to comment Share on other sites More sharing options...
2easy Posted February 17, 2010 Report Share Posted February 17, 2010 vai tad bez tā js tas session expired pazūd? Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted February 17, 2010 Author Report Share Posted February 17, 2010 (edited) vai tad bez tā js tas session expired pazūd? Jap. Kad palaiž ar $errormessage jquery vietā ta tas gļuks nau un viss nostrādā. Kad ieliek to sūdu ta akal tas gļuks. Uz Firefokša viss super uz IE nee.. :( Edited February 17, 2010 by Cibiņš Quote Link to comment Share on other sites More sharing options...
2easy Posted February 17, 2010 Report Share Posted February 17, 2010 kādi ir http response headeri? Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted February 17, 2010 Author Report Share Posted February 17, 2010 http://www.adparts.lv/dbf/ http://www.adparts.lv/dbf/dbf.zip (source) Pacholee te. Ar abiem browseriem. Vajadzetu stradat kaa uz Firefoksha. Quote Link to comment Share on other sites More sharing options...
2easy Posted February 17, 2010 Report Share Posted February 17, 2010 (edited) piecītis no tevis ^^ echo '<script type="text/javascript">$(document).ready(function() {$.prompt("Nav aizpildīti visi lauki!",{ buttons: { Ok: true } });});</script>'; Edited February 17, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted February 17, 2010 Author Report Share Posted February 17, 2010 piecītis no tevis ^^ echo '<script type="text/javascript">$(document).ready(function() {$.prompt("Nav aizpildīti visi lauki!",{ buttons: { Ok: true } });});</script>'; Ideāli! LIELUMLIELS paldies! :)) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.