ChadBrandmire
6 years agoQrew Assistant Captain
Get a field value for html page?
I'm trying to set the value of an input on a popup html page onload using the value in a form field. But all i'm getting is this: "[object Object]"
code:
<script>
var timg = window.opener.$("#_fid_43");
$("#imgurl").val(timg);
</script>
I've tried a few different things, but end with that same result.
fid_43 is a Formula- Rich Text field that gives the image url for a record.
Any ideas how to get that URL into that input?
code:
<script>
var timg = window.opener.$("#_fid_43");
$("#imgurl").val(timg);
</script>
I've tried a few different things, but end with that same result.
fid_43 is a Formula- Rich Text field that gives the image url for a record.
Any ideas how to get that URL into that input?