JQuery.("#someid).html() not working
- This topic has 2 replies, 2 voices, and was last updated 7 years, 1 month ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › vLooup for SharePoint › JQuery.("#someid).html() not working
Tagged: jquery
Hi Alex
I am using some custom script to modify the headers in the forms . Like JQuery.
var thetext = hi Alex
jQuery(“#someid).html(thetext);
In dffs on the header field I put . In version 4.4.3.47 this works just fine. However in 4.4.4.10 it is not working . Any ideas what might be going on?
Hi,
The reason is that the heading and html sections are not rendered until you click a tab. This change was made to reduce the initial load time on larger forms with a lot of headings and html sections.
Define your variable in Custom JS like this:
var thetext = "hi Alex";
Change your heading textarea like this:
{{var:thetext}}
Then just change your variable like this:
thetext = "hi Bryan";
and it will automatically reflect in the heading.
Alexander
Perfect..thanks Alex.