_g3o_ Posted May 25, 2009 Share Posted May 25, 2009 i want a help pls index file <meta name="description" content="E-car Pooling System" /><meta name="keywords" content="ecar, , car pooling" /> <meta name="author" content=E-Car" /> <script type="text/javascript"> '; ?> <!-- function showimage() { if (!document.images) return document.getElementById('mypicture').src=document.cartype.picture.value; } //--> <?php echo '</script> <title> E-car Pooling : </title> </head> and the file im calling the java script if($_SESSION["type_reg"] == "Driver") { echo '<b><label>Please select your type of car:</label></b> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><form name="cartype"></td></tr><p> <select name="picture" size="1" onChange="showimage()"> <option selected value="registration/images/picture1.gif">Roadster/Van</option> <option value="registration/images/picture2.gif">Saloon</option> <option value="registration/images/picture3.gif">Mini Van</option> </select> </td> </tr> </p> </form> </td> </tr> <tr> <td width="100%"><p align="center"><img src="registration/images/picture1.gif" id="mypicture" width="70%" height="70%"></td> </tr> </table>'; where is the problem? pls help me Link to comment Share on other sites More sharing options...
Question
_g3o_
i want a help pls
index file
and the file im calling the java script
where is the problem? pls help me
Link to comment
Share on other sites
0 answers to this question
Recommended Posts