+ 5

Can someone help Me with jQuery

I want to add the input field value to the span text and change the span text to the final value.. https://code.sololearn.com/W2ejRhx9utmV/?ref=app

22nd Aug 2017, 12:10 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
6 Réponses
+ 12
Mh, first of all, add your code inside this: $(function(){ // your code goes here }) ... pretty similar to the onload event in Js, let me know if it is what you want. :)
22nd Aug 2017, 12:14 PM
Maz
Maz - avatar
+ 12
(@Nikhil Gaurav) [ .. Which version of jQuery should i use in in html code ... ] It depends if your application needs to be available in all browsers, try to use one of the 1.x versions, maybe the 1.11.1, it supports old IE versions too... otherwise highly recommended to use one of the latest stable versions. :)
22nd Aug 2017, 12:49 PM
Maz
Maz - avatar
+ 1
check the code i was made simple jquery there https://code.sololearn.com/WJ8Vjlgh1Gp6/?ref=app and here is yours with id tags https://code.sololearn.com/WW2EPq7Lf5qU/?ref=app
22nd Aug 2017, 12:22 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 1
ah its working thanks @Maz 😊😊
22nd Aug 2017, 12:23 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
Help me in this Which version of jquery should i use in in html code!
22nd Aug 2017, 12:41 PM
Nikhil Gaurav
Nikhil Gaurav - avatar
0
Thank you (@maz)
6th Sep 2017, 12:13 PM
Nikhil Gaurav
Nikhil Gaurav - avatar