Jump to content

opensrs hook w3c issue


durangod

Recommended Posts

got this in my validation report

 

document type does not allow element "div" here

 

           .after("<div id='msg'></div>")

 

 

which is comming from includes/hooks/opensrspro_hooks.php file in

 

function hook_opensrspro_ActivateTemplatesChangesHeadOutput

 

looks like it could be part of the $headoutput var in the header tpl file, i did try moving that into the body section as a test but it did not like that at all...

 

 

has anyone else gotten this with the new 5.3.8 verson and if resolved can you share your resolve please.

 

thanks

Link to comment
Share on other sites

My o-pol-o-geez lol !!!

 

i thought this new opensrs file came with the new version of whmcs, but it is a domainspro 1.3.1 file, so i have sent my 0/1's electronic request to opensrs.... sorry just being funny, i emailed opensrs lol

 

 

there is a new version out OpenSRS Domains Pro WHMCS Module Date: July 10, 2014 version 2.0.1 same issue. i have let them know.

Edited by durangod
Link to comment
Share on other sites

seems adding CDATA has resolved this for now.. i am still waiting for their official okee dokee lol

 

 


/* added CDATA */

       $script.='
        // <![CDATA[

           jQuery("input[name=\'phonenumber\']").keyup(function(){
               ValidatePhone(this.value);
           })
           .after("<div id=\'msg\'></div>")
           .closest("form").find("input[type=\'submit\']").attr("id","btnSubmit");
          // ]]>
       ';



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated