adplus-dvertising
frame-decoration

Question

Which function is used in JavaScript for URL encoding?

a.

encodeURI()

b.

Server.URLEncode()

c.

rawurlencode()

d.

UREncoding

Posted under HTML

Answer: (a).encodeURI()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which function is used in JavaScript for URL encoding?