So i have a page where i have a quote request form for a client. 

the doc type is 

```
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">

```

What i am doing is, generating the forms submit button via jquery, so if the client browser has js disabled, the submit button does not appear. 

the HTML is as follows. 

```
    <div id="buttonscript">

    </div>

```

Jquery 

```
<script type="text/javascript" >
   $(document).ready(function(){
   $("#buttonscript").html('<input type=\"image\" name=\"Submit\" src=\"<?=$img_dir?>/button-submit_off.png\" alt=\"Submit\" class=\"nostyle\" style=\"margin-left:-4px;\" />');
});
</script>

```

It works fine in all browsers but FF it seems. 

I have another `$(document).ready(function() {` on the page would this cause conflicts?

the second one is to invoke jquery.validate plugin on the form. 

**UPDATE**

tried removing all escapes before ". didnt work. No errors in console as far as i can tell. works fine EVERYWHERE but FF. 

**UPDATE**
\**I AM A NOOB*\*

Lol anyways, i realized there had to be something funky going on , considering i know that the errors coming up were stating that jquery was undefined....then i remembered an .htaccess directive allowing scripts to only run from same domain, and i had previously been hosting my jquery library, but decided to let google do that for me.... in other words, there wasnt crap wrong with any of my code...it was server configuration.. FINALLY figured it out!