Hey this is my code.. I'm trying to display whats in "carefare" variable inside a div. But it's not working I have no idea. All names of the div's are correct. and when i use alerts(commented) correct values are displaying but it's not getting printed inside my divs. Always the value "callus" is coming. Please try to give me an idea. i'm stuck here, and it's urgent. i'm really new to jquery...
function showpriceincarbox(carefare,vnumber){
//alert("#carpricediv"+vnumber);
//alert(carefare);
if(carefare=="NA"){
$("#carpricediv"+vnumber).html("<p class=''>Call Us</p>");
}else{
$("#carpricediv"+vnumber).html("<p class=''>\u00A3"+carefare+"</p>");
document.getElementById('journy_fare'+vnumber).value = carefare;
}
}