User Profile

Collapse

Profile Sidebar

Collapse
Hubs Hubs
Hubs Hubs
Last Activity: Mar 12 '12, 04:14 PM
Joined: Mar 10 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hubs Hubs
    replied to Linebreak In JavaScript
    Thanks for the response Dormilich

    Where in the line:
    Code:
    $("#answer").text("Your Name Is: " +nick);
    Do I put (<br>)
    See more | Go to post
    Last edited by Dormilich; Mar 12 '12, 05:39 PM.

    Leave a comment:


  • Hubs Hubs
    started a topic Linebreak In JavaScript

    Linebreak In JavaScript

    I have these line of JavaScript:



    Code:
    $(document).ready(function () {
    	/*$('#first').focus();
    	$(this).keyup(function (e) {
    		if (e.keyCode == 13) {
    			generate();
    		}
    	});*/
    		});
    function generate() {
    	if($("input[name='name']").val().length > 1) {
    		fi = $("input[name='name']").val().substring(0,1).toUpperCase();
    		var sl = ["Cool
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 11 '12, 01:00 AM. Reason: Please use [CODE] [/CODE] tags when posting code.
No activity results to display
Show More
Working...