I am using :
appache 2.2.11
php :5.3.0
MySql 5.1.36

The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline

But these scripts are working fine on IE 8 using online !!

And these scripts work offline on other pcs ?!!! :O

so I think it is related to wamp (config.php) or php extension or php.ini

Recommended Answers

All 5 Replies

The script also works on firefox online

Member Avatar

I don't think it's anything to do with php. This is a js issue. Clear the cache in your browser (IE8) and try again.

<script  language="javascript">
function showSelectDate()

else if(document.getElementById('deadline').checked==false)
       <td >
          <input type="checkbox"  id="deadline" name="deadline"
              value="1" onclick="showSelectDate();">
   <tr id="deadlineDate" style="display:none">
  <td width="13%" class="admintable_dark"><div align="left">Deadline Date:</div></td>
            <td  colspan="4" class="admintable_light"><input type="text"  id="deadDate" name="deadDate" class="textd" readonly value="<?=$date?>">
				  src="../../../common/images/datePicker.gif" border=0></a></td>
Member Avatar

where's this coming from? SHould be <?php echo $date;?> . Avoid short tags.

Also <?=date('Y-m-d')?>. use 'normal' php tags and echo statement.

DONE but no effect the textbox is still hidden

When check/uncheck the checkbox I get

Error: showSelectDate is not defined
Source file: http://peter.univers...newPetition.php
Line: 1

The problen is that there are many scripts not work ?
So I think this is related to some config. in some files ?? :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.