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
M

Moykn

@Moykn
About
Posts
21
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Duck-typed script languages, or statically typed "compiled" languages?
    M Moykn

    I would recommend the one i'm most comfortable with. Since this person probably will ask me a lot of question when he/she/*he start learning. :)

    Sorry, my english is bad beta!

    The Lounge question csharp c++ javascript python

  • StackOverlow Alternatives ?
    M Moykn

    I agree with you. But i guess he just misunderstood this: "...This is really a Q&A question. Once you ask there, you will then be notified to use Google...." for "Don't bring any questions here on CP."

    Sorry, my english is bad beta!

    The Lounge performance question

  • What next for CP?
    M Moykn

    Well, when someone post a question on Q&A you could just get the title and redirect him to Let Me Google That For You[^].

    Sorry, my english is bad beta!

    The Lounge question json

  • The witches and watches
    M Moykn

    All i could read was: Two witches had two watches. Wit wit wit wit wat? wit wat wat wit wit?

    Sorry, my english is bad! Everything is easy for the man who doesn't have to do it himself. (Fran Porretto)

    The Lounge collaboration question

  • Javascript is CRAP
    M Moykn

    Now makes sense why people on my work look at me like some kind of Voodoo maker.

    Sorry, my english is bad! Everything is easy for the man who doesn't have to do it himself. (Fran Porretto)

    The Lounge javascript

  • My Two-Cents on: How to handle (yourself around) the kids
    M Moykn

    :thumbsup: No way i could live anymore without my kids.

    Sorry, my english is bad! Everything is easy for the man who doesn't have to do it himself. (Fran Porretto)

    The Lounge json help tutorial learning

  • Dealing with bad-code
    M Moykn

    Tank you.

    Fran Porretto wrote:

    (Besides, a lot of Americans don't have much command of English, either. Not that that's something we're proud of, mind you.)

    Same here in Brazil, sometimes it looks like we are heading to a Newspeak.

    Sorry, my english is bad! Everything is easy for the man who doesn't have to do it himself. (Fran Porretto)

    The Lounge sysadmin question javascript php database

  • Who wastes more?
    M Moykn

    Yep. Marriage is a relationship between two people where one is always right and the other is the husband.

    Sorry, my english is bad! Everything is easy for the man who doesn't have to do it himself. (Fran Porretto)

    The Lounge question

  • Dealing with bad-code
    M Moykn

    Fran Porretto wrote:

    "Everything is easy for the man who doesn't have to do it himself."

    Good for a signature. Do you mind? I have seen this happen. Some years ago i worked in a system that have to produce reports to a specific client, so, one day a sales person come to us and said that we have to add a lot of new data to the report and so she told us: "This is easy, you just have to do a select grouping everything. I DON'T KNOW HOW TO DO THIS, BUT IT'S EASY"

    Sorry, my english is bad!

    The Lounge sysadmin question javascript php database

  • WTSOTCOTD
    M Moykn

    Out of the System - Jennie Bomb - Sahara Hotnights If i'm right, blame google. And tell if i have broken the rules.

    Sorry, my english is bad!

    The Lounge

  • Help me with Jquery
    M Moykn

    Try this

    //Use the selector you want
    $('button').click(function(e){
    e.stopPropagation();

    //your code
    

    })

    if what you need on mouseover/mouseleave is just change css, do it using css

    /* Normal State*/
    .highlight{
    border-left: #FFF;
    background-color:#FFF;
    }

    /*Hover State*/
    .highlight:hover {
    border-left: #FF9900;
    background-color:#FAFAFA;
    }

    Sorry, my english is bad!

    JavaScript help question javascript css sysadmin

  • MoveMenuItems
    M Moykn

    Use jQuery Sortable

    $( "#sortable1, #sortable2" ).sortable({
         connectWith: ".connectedSortable";
    }).disableSelection();
    

    Just make sure to give your "columns" the class "connectedSortable". for reference: http://jqueryui.com/sortable/#connect-lists[^]

    Sorry, my english is bad!

    JavaScript tools help

  • MQOTD
    M Moykn

    "Back to the Flu"?

    Sorry, my english is bad!

    The Lounge com tools question

  • Unobtrusive scripting is fun!
    M Moykn

    Brady Kelly wrote:

    I am currently busy with trying to find a mechanism to make a non-form, i.e. a sub-form (not allowed, but is a group of inputs and a URL) post via AJAX.

    You could just create a JSON and pass it to the server in the "data" field of a jQuery.ajax request. If you are using C# with Webservices you could do this: (Using jQuery)

    $.ajax({
    url: "your.url.here/Method",
    type: "POST",
    data: {json:{a:10,b:20}},
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    success: function (data) {
    var response = $.parseJSON(data.d);

               }
    

    });

    wich in server will be

    public string Method(object json){
    //do your stuff here
    }

    or

    $.ajax({
    url: "your.url.here/Method",
    type: "POST",
    data: {a:10,b:20},
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    success: function (data) {
    var response = $.parseJSON(data.d);

               }
    

    });

    and server-side

    public string Method(int a, int b){
    //do your stuff here
    }

    Sorry, my english is bad!

    The Lounge javascript html com design

  • Why...
    M Moykn

    nope.. what have to be done is set "property" not evaluate its value.

    Sorry, my english is bad!

    The Lounge question

  • Throw
    M Moykn

    Rage wrote:

    No rule without exception.

    This is a rule, so it has an exception, then no every rule has a exception.

    Sorry, my english is bad!

    The Lounge

  • Why...
    M Moykn

    Totally agree I don't think myself as the best coder in the world, there's a lot i need to learn(a better english, for example).

    The Lounge question

  • Why...
    M Moykn

    harold aptroot wrote:

    That's not too bad. Bad, certainly, but I'm not impressed yet. You said this isn't the worst - what is?

    Quote:

    pagination using a foreach and 2 counters?

    The Lounge question

  • Why...
    M Moykn

    I wish it was the worst... did you mind making pagination using a foreach and 2 counters?

    The Lounge question

  • Why...
    M Moykn

    I was looking into some code at work and came across this valueReturn = ( 3 * 60 ).ToString(); and something like this object.Property = true ? "1":"0"; and just want to know, why...

    Sorry, my english is bad!

    The Lounge question
  • Login

  • Don't have an account? Register

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