You are here: Re: using javascript function in php function?? « PHP Programming Language « IT news, forums, messages
Re: using javascript function in php function??

Posted by php_dev on 10/12/06 22:32

Phrogz wrote:
> mantrid wrote:
> > I suspect it could be due to using a javascript function in php function.
> > I'm not sure if this is allowed.
>
> JavaScript and PHP have *nothing* to do with one another.
> (Read this http://xkr.us/js/clientserver three times so that you
> understand it.)
>
> PHP produces X/HTML. The web browser sees that code. Now JavaScript
> comes into play.
>
> View Source on your web page to see what code is actually coming out,
> and then you will see why your HTML may or may not be broken. That's
> all the browser cares about.

You may also want to use Mozilla's Web Developer Toolbar, it's very
helpful in debuging JavaScript code.

Hope this helps.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация