echo javascript result in php/html source code? -
this might bit difficult explain try best explain it.
i have page display results javascript. (time (hh/mm/ss) exact).
what need display results of javascript shown on page in source coude of page when viewed browser firefox right click, view source files!
i thinking echoing results seem wrong idea echoing show results on page , not on source code of page!
any appreciated.
edit:
okay, if impossible show results of javascript in page source how site displays result of current time etc in page source , viewable page source. i.e. wednesday, july 31, 2013 etc etc can viewed on page , on page source!!
http://www.timeanddate.com/worldclock/city.html?n=136
i using google chrome view page source.
you can't alter source code comes server means of javascript. while javascript can manipulate dom objects, text see when click "view source" came server, , there no way change that.
to view changes done scripts, use firebug or similar tool.
Comments
Post a Comment