/ Published in: C#
by adding the runat="server" text to the p tag, we allow the .cs file to have access to it.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
aspx code: <p id="jobDescription" runat="server">job details</p> .cs code: jobName = jobDescription;