Skip to content

Instantly share code, notes, and snippets.

@phpfact
Last active September 5, 2022 09:47
Show Gist options
  • Save phpfact/3d6b51d3e35d286a6d4b039fc32edab1 to your computer and use it in GitHub Desktop.
Save phpfact/3d6b51d3e35d286a6d4b039fc32edab1 to your computer and use it in GitHub Desktop.
1. All p tag add 2 class 1 is table 2 is table-responsive
Solution is:
<script>
$('table').addClass('table').addClass('table-responsive');
</script>
#Run Javascript and Get TimeZone
<script>
console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)
</script>
//Output: Asia/Calcutta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment