Fungsi getParameters() WMLScript

Fungsi getParameters() mengembalikan parameter dalam bagian path terakhir URL.

Sintaks

n = URL.getParameters(url)
Komponen Deskripsi
n String yang dipulang oleh fungsi.
url Sebuah string.

Contoh

var a = URL.getParameters("http://codew3c.com/wml;tip");
var b = URL.getParameters("http://codew3c.com/wml");

Hasil

a = "tip"
b = ""