¾È±Ô °øºÎ¹æ

Javascript & JQuery & CSS > param() - ¹®ÀÚ¿­ ¸Å°³º¯¼ö¸¦ Äõ¸®½ºÆ®¸µÀ¸·Î º¯°æ

µî·ÏÀÏ : 2017-07-13 19:57 Á¶È¸¼ö : 53,162

¹®ÀÚ¿­ ¸Å°³º¯¼ö¸¦ Äõ¸®½ºÆ®¸µÀ¸·Î º¯°æÇÏ´Â ¹æ¹ý¿¡ ´ëÇؼ­ ¾Ë¾Æº¸ÀÚ
 
	var obj = new Object();
	obj.id = 'cak0280';
	obj.password = '#pw';
	obj.idStore = 'on';

	$('body').append( obj.id + " : "+ obj.password + " : " + obj.idStore );

	var str = $.param(obj);	// Ä÷º¼Ç ÇüÅÂÀÇ ¹®ÀÚ¿­ ¹è¿­À» Äõ¸®½ºÆ®¸µ(QueryString)À¸·Î º¯°æ

	$('body').append( str );

	°á°ú°ª
	---------------------------------------------------
	cak0280 : #pw : on
	id=cak0280&password=%23pw&idStore=on

 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.