I am facing to dispaly multiple values in another text box

this is my code

$("#firsttearesult").val(diffHour,diffMins);

Any body help me to display both

$("#firsttearesult").val(diffHour + " " + diffMins);

Very Thnx You saved my time a lot.....

Youre welcome

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.