Hello:
Any ideas as to why I cannot get the script to work in chrome? it works fine in safari.
PHP Code:
$(window).load(function(){
$("#rcver").keyup(function() {
var values = "";
var colon = ":";
var sendname = "<?php echo $fname;?>";
var link = "\n\nGo to www.site.net and Click on Business Leads! (right of screen)";
var msg2 =" my message is here";
var msg = (" \n\nThis is ") +sendname +(".") + msg2 +sendname;// +link;//we concacte name and links to message body
// var msg = " \n\nI Would like to share with you information about an exciting income opportunity. \n\nSincerely, \n"+sendname +link;
$('#rcver') .each(function() {
values += ("Hi ")+this.value +colon +msg;
});
$("#detailedmsg").val(values);
});
});
for the jquery file, I'm using:
PHP Code:
<script type='text/javascript' src='http://code.jquery.com/jquery-1.7.1.js'></script>
I also have tried:
PHP Code:
$(document).load(function(){
with no luck...
In chrome, I'm getting:
PHP Code:
Uncaught ReferenceError: $ is not defined
Thanks for the any input!