mardi 3 octobre 2017

html break and href in javascript variable (Laravel 5.5)

I am trying to set a default message in textarea of form...I want Model name and its link to set in a correct way in textarea....Plus i dont know how can i set the product link(which is in clean_uri) and break points in the javascipt variable....Please help and suggest me a solution.

Format that i want for textarea....

Hi, (Website name) has this item that I thought you would really like to know about.                         

 Helena Runolfsdottir                                                      

Click on the link to see more 
Link of Model

Here is my code for textarea in a javascript variable....

var content = "Hi, This website has item that I thought you would really like to know about."+"Click on the link to see more info."+<a href=clean_uri>Click Here</a>;



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire