L
L
lavezzi12015-11-01 11:53:27
JavaScript
lavezzi1, 2015-11-01 11:53:27

How to add a piece of html code to a value?

$( "#selector" ).val( $( "#slider" ).slider( "value" )+"  ");


I tried to put the code in quotes after +, it does not work.
$( "#selector" ).val( $( "#slider" ).slider(( "value" )+)html("  "));

He doesn't want to either. What is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Immortal_pony, 2015-11-01
@Immortal_pony

Describe in more detail what you want to achieve? Please attach html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question