Tag Archives: prompt

Prompt Usage

Prompt usage snippet

			var track_number = prompt("Please enter tracking number:");
			if(track_number)
			{
				$(this).data('track_number', track_number);
				//$(this).closest('tr').children().eq(4).append('<div style="color:red; display:block;text-align: center;">[' + track_number + ']</div>');
			}
			else
			{ 
				/* do something else */
			}