Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Peter Leow

@Peter Leow
About
Posts
200
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MySql Resource
    P Peter Leow

    MySQL is just one of the many RDBMS's for implementing relational databases. Before you can use any of these, however, you should learn the fundamental of database design: 1. Introduction to database design[^] 2. 1NF, 2NF, 3NF and BCNF in Database Normalization | DBMS Tutorial | Studytonight[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Database learning database mysql algorithms help

  • How to convert total database columns datetime to date in the format of dd-mm-yyyy
    P Peter Leow

    Read on How to get Date Part only from DateTime in Sql Server | SqlHints.com[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Database database sharepoint help tutorial announcement

  • How to convert total database columns datetime to date in the format of dd-mm-yyyy
    P Peter Leow

    Why do you want to do that? The datetime format is only matter to human not the sql server. Just leave it as it is as datatime, then format it on select to the appropriate format or culture that suite the users. Learn why you should not bother How to format a Date or DateTime in SQL Server[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Database database sharepoint help tutorial announcement

  • Want learn Java
    P Peter Leow

    The official The Java™ Tutorials[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Java java question

  • Is anyone up to make an App ?
    P Peter Leow

    No, thanks.

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Collaboration / Beta Testing algorithms question

  • Creating my own web server using IIS and win 7
    P Peter Leow

    First, install IIS on your win 7 machine. Installing IIS 7.5 on Windows 7 Professional, Enterprise, or Ultimate[^]. Next, Create a Local IIS Web Site in Visual Studio[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Hosting and Servers performance csharp asp-net sysadmin windows-admin

  • simpe doctor appointment app
    P Peter Leow

    "simpe doctor appointment app" not found. Redirect to www.freelance.com[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Android

  • Split Particular Digit using C#
    P Peter Leow

    What is the basis or pattern for the split? You example appears random.

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    C# csharp help tutorial

  • CLARIFY
    P Peter Leow

    HOW ARE PACKAGES USED IN JAVA - Google Search[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Java java question

  • asp .net web development
    P Peter Leow

    Sure, head over here Get Started with ASP.NET Websites | The ASP.NET Site[^]

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    ASP.NET csharp help

  • Using Multiple jQuery Scripts
    P Peter Leow

    Based on your clarification, a function is a block of code that will only be executed when it is called, as such, there is no need to place a function inside the ready() method. You may put functions into multiple files and link them to your html file.

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Web Development question javascript tools

  • Using Multiple jQuery Scripts
    P Peter Leow

    Say you have an external js file called external.js that contains this code:

    $( document ).ready(function() {
    // other code
    console.log( "script 1!" );
    });
    $( document ).ready(function() {
    // other code
    console.log( "script 2!" );
    });

    In your html file, place the link to this external.js after the jquery library like this: <script src="jquerylibrary.js"></script> <script src="external.js"></script>

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Web Development question javascript tools

  • Using Multiple jQuery Scripts
    P Peter Leow

    You should understand why you need $( document ).ready()[^]. Outside of this ready() method, a script has to be placed after those html elements that it seeks to manipulate, try this:

    <script>
    $("p").css("color", "red")
    </script>
    <p>What color will I become?</p>
    <script>
    $("p").css("color", "green")
    </script>

    It will never become red, as the p tag has not being rendered yet when the first script is read. So it depends on the context of your script. If you really want to break the script into several, you can wrap them in separate ready() functions.

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Web Development question javascript tools

  • Why the picture not save correctly if I change from button click to form load
    P Peter Leow

    vb6. What nostalgia. Try

    Private Sub Command1_Click(index As Integer)

    Call Command1_Click(0)

    Peter Leow http://www.peterleowblog.com/ https://www.amazon.com/author/peterleow

    Visual Basic question

  • How to trigger on change on a HTML5 var tag?
    P Peter Leow

    The second event is triggered by the radio change, you can either place the alert in it or get it to trigger the second event, e.g.

    <script>
    $(document).ready(function () {
    $('[name=rdoTest]').change(function () {
    $('#test1').text($('[name=rdoTest]:checked').val());
    $("#test1").trigger("change");
    //alert($('#test1').text());
    });
    $('#test1').change(function () {
    alert($('#test1').text());
    });
    });
    </script>

    Peter Leow https://www.amazon.com/author/peterleow

    JavaScript html database tutorial question

  • Design my Site??
    P Peter Leow

    Of course, that's what ASP.NET for. Start here Introduction to ASP.NET Core — ASP.NET documentation[^]

    Peter Leow https://www.amazon.com/author/peterleow

    ASP.NET csharp asp-net design question

  • web form using javacript
    P Peter Leow

    Explore: 1. Dialog | jQuery UI[^] 2. Its Documentation[^] 3. Using jQuery with ASP.NE[^]

    Peter Leow https://www.amazon.com/author/peterleow

    ASP.NET question csharp javascript database

  • Dynamic SQL generation is not supported against multiple base tables
    P Peter Leow

    According to SqlCommandBuilder Class (System.Data.SqlClient)[^]

    Quote:

    Automatically generates single-table commands that are used to reconcile changes made to a DataSet with the associated SQL Server database. This class cannot be inherited.

    The key word here is "single-table". You have to use the appropriate InsertCommand, UpdateCommand, or DeleteCommand to do the job as shown in Updating Data Sources with DataAdapters[^]

    Peter Leow https://www.amazon.com/author/peterleow

    Visual Basic help database security announcement

  • Don't Worry Be Happy
    P Peter Leow

    Bhutan's secret of happiness - CBS News[^]

    Peter Leow https://www.amazon.com/author/peterleow

    The Lounge com announcement

  • help me to make a small program
    P Peter Leow

    Refer to your JS lesson notes, especially those concern JS operators and conditions, and you should be able to complete your homework. If for whatever reason, you do not have those notes, fret not. Check out some online tutorials, such as JavaScript Operators[^] and JavaScript If...Else Statements[^]

    Peter Leow https://www.amazon.com/author/peterleow

    JavaScript performance help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups