Good day!
I've asked this question already in one of the topics, but I guess nobody have seen it untill now, so I start a new topic.
Ok, this is it:
Is there any javascript code, that can comment strings in files? Here is an example:
When I press button1 on my site, I want to string:
become commented. Code changes after pressing button1:
Now, if I'll press button1 ones more - comment must be deleted and string become open for browser:
Thank you!
I've asked this question already in one of the topics, but I guess nobody have seen it untill now, so I start a new topic.
Ok, this is it:
Is there any javascript code, that can comment strings in files? Here is an example:
| Code: |
| <?php
.... <img src='img/button1.gif'> echo "<P>"; echo "Some text"; ... ?> |
When I press button1 on my site, I want to string:
| Code: |
| echo "Some text"; |
become commented. Code changes after pressing button1:
| Code: |
| <?php
.... <img src='img/button1.gif'> echo "<P>"; //echo "Some text"; ... ?> |
Now, if I'll press button1 ones more - comment must be deleted and string become open for browser:
| Code: |
| <?php
.... <img src='img/button1.gif'> echo "<P>"; echo "Some text"; ... ?> |
Thank you!
