Questions tagged [doctype]

HTML document type declaration tag <!DOCTYPE>.

Filter by
Sorted by
Tagged with
2 votes
0 answers
901 views

How do we name a Visualforce PDF without Apex (Filename)

Here is our Visualforce Page Attributes In this example we are trying to name the PDF "Hello" <apex:page title="PDFPage" renderAs="pdf" standardStylesheets="false" standardcontroller="...
TheArchitecta's user avatar
4 votes
1 answer
894 views

HTML5 DocType not getting set

Any idea why this is not generating an html5 doctype in my pages? <apex:page applyBodyTag="false" applyHtmlTag="false" showHeader="false" cache="false" contentType="text/html" sidebar="false" ...
Trace's user avatar
  • 43
0 votes
1 answer
492 views

File Upload and automatically save into attachment

I have created visualforce which displays to upload file and save button functionality. I have used to upload and its working properly in salesforce1 by clicking on save. Now I want to change the ...
Dipen Ishani's user avatar
1 vote
1 answer
388 views

Can you set an html docType on a Visualforce Email Template?

I can't find any way to control docType of any type of email in Salesforce. First I tried Custom and then I tried Visualforce. Any ideas? Thanks!
mjgallag's user avatar
  • 965
0 votes
3 answers
2k views

Why style.display = 'block' works only on Firefox?

I'm using the code below : <apex:outputPanel id="myID" style="display: none;"> ... </apex:outputPanel> <apex:commandButton value="Display" onclick="display()"/> <script type="...
SF_user's user avatar
  • 3,606