How do i go about making these multiple scripts work on a single page?
$(document).ready(function() {
var str = "";
$("select option:selected").each(function () {
str += $(this).text() + " ";
});
$(".display_text_here").text(str);
})
.change();
This one i would like an IE conditional
$(document).ready(function() {
$(".select")
.mouseover(function(){
$(this)
.data("origWidth", $(this).css("width"))
.css("width", "auto");
})
.change(function(){
$(this).css("width", $(this).data("origWidth"));
});
});