PDA

View Full Version : why after replace the javascript code the text disappear


fattat
05-08-2009, 04:08 PM
why after replace the javascript in a javascript file
the text is disappear in dreamweaver
but it still look nice in browser


for example this
<script>writefooterlink();</script>

the javascript in html move to javascript file

DWcourse
05-08-2009, 09:52 PM
Dreamweaver doesn't interpret JavaScript in Design view (if that was your question).

fattat
05-09-2009, 04:39 AM
Dreamweaver doesn't interpret JavaScript in Design view (if that was your question).

emn...it look like trouble for future editing design

Corrosive
05-09-2009, 08:24 AM
emn...it look like trouble for future editing design

This is one of the many reasons to get comfortable with code view and not rely on design view for building pages.

DWcourse
05-09-2009, 01:58 PM
The new Live View in CS4 does actually interpret Javascript but it's not a substitute for the reality of needing to check your work in several browswer.