1. <img name="image_i_want_to_change" id="image_i_want_to_change" src="dont_really_care_since_were_not_using_it_anyway" style="display: none">
2. <% var image = document.getElementById("image_i_want_to_change");
3. image.src = "C:\Documents and Settings\hp\Desktop\wall\image1.jpg;"
4. image.style.display = "";
%>
myeclipse6.5 is showing "invalid escape sequence in the line 3" i.e it is showing error in the path. but path is ok.. what should i do..? and is this code sufficient to load an image on a JSP.?
please help