Quran.ayah.juz( surah [, ayah] )

Gets the juz number from given surah & ayah number

Quran.ayah.juz( surah [, ayah] )

Surah number need to be added here

Ayah number need to be added here, default value 1

Returns: integer


Example: Juz number from surah & ayah number

<!DOCTYPE html>
  <style>#demo{ color:lightBlue; }</style>
  <script src="http://code.jquery.com/jquery-latest.js"></script>
  <script src="http://globalquran.com/javascript/Quran.js"></script>
  <div id="demo">

Quran.init(); // initial setup run - required
$('#demo').append('Surah & Ayah 114:1 belongs to juz number '+Quran.ayah.juz(114, 1));



blog comments powered by Disqus