how to encode javascript and html code which is written in .php file -


Is it possible to encode javascript and HTML code (such as the following) which is the .php file ?

  & lt; script type = "text / javascript" charset = "UTF-8" & gt; Function for_sale () {$ .ajax ({type: "POST", url: "report / approval / check_stat.fpp", data: '& amp; stock_id =' + format_stock_id, success: function (feedback) {... }}); } & Lt; / Script & gt;    

I think it has been asked before. Please refer to the link given below



Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -