Echo Php called javascript? Could it be? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Echo Php called javascript? Could it be?

I hve some code in side echo php, thats hve an id that must be called an javascript, how could i do that....

2nd Aug 2019, 4:28 PM
Gomel
Gomel - avatar
15 Answers
+ 6
What do you mean by echo PHP? Can you please explain?😕
2nd Aug 2019, 4:29 PM
Sarthak
Sarthak - avatar
+ 4
Gordon Why?😐
2nd Aug 2019, 4:49 PM
Sarthak
Sarthak - avatar
+ 4
Gomel Your question seriously sucks. Edit: Gordon Oh I didn't know Indonesian are good at Chinese. 😅 Yes. I guess that is the solution she wants.
2nd Aug 2019, 4:58 PM
Sarthak
Sarthak - avatar
+ 3
I am sory, i dont know chinese language, thats too bad....
2nd Aug 2019, 4:56 PM
Gomel
Gomel - avatar
+ 3
Wait ill test it, its seems work, i just wanna test it in my task .... Anyway thx....
2nd Aug 2019, 4:59 PM
Gomel
Gomel - avatar
+ 3
Serriously i am just a learner not a proffesional coder, so whats in my mind i wrote it here... So sorry if i am so sucks at this 😧
2nd Aug 2019, 5:01 PM
Gomel
Gomel - avatar
+ 3
At Sololearn, people can learn English too by interacting with the community, it seems. It's all good.
3rd Aug 2019, 3:26 AM
Sonic
Sonic - avatar
+ 2
<?php if bla bla bla echo "<div class='alert' role='alert'> bla bla bla </div>"; ?> The class alert is trigered javascript to fadeout timing message Hope u understand what i mean
2nd Aug 2019, 4:33 PM
Gomel
Gomel - avatar
+ 2
Sarthak Pokharel because some Indonesian knows Chinese, so if her English is not good, if she is good in Chinese, maybe I can understand. But anyway, I have provided a solution for her.
2nd Aug 2019, 4:53 PM
Gordon
Gordon - avatar
+ 2
Gomel is my code example useful?
2nd Aug 2019, 4:57 PM
Gordon
Gordon - avatar
+ 2
We all are learners here in SoloLearn. Please feel free to come to SoloLearn Q&A when you have another question next time ^^ In the meantime, I found spelling mistake and bad English practice (local short forms) in your question and replies. I am correcting them one by one with interactivity for you: https://code.sololearn.com/WU3x1ll2wt8F/?ref=app
2nd Aug 2019, 10:35 PM
Gordon
Gordon - avatar
+ 1
用中文描述一下
2nd Aug 2019, 4:40 PM
Gordon
Gordon - avatar
+ 1
You may use JSONP, Check it out on https://w3schools.com
4th Aug 2019, 4:00 PM
Timur Myngbay
Timur Myngbay - avatar
0
https://code.sololearn.com/W0tICYOAkghX anyway guys here is my code to show and to fade out
5th Aug 2019, 12:55 PM
Gomel
Gomel - avatar