www.webdeveloper.com

Search:

Type: Posts; User: bionoid

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    1,152

    Years of JS conditioning has numbed my worry...

    Years of JS conditioning has numbed my worry about "this", in fact I kinda love it. "with" is practically useless now thanks to strict mode... my past self would have enjoyed its use as it would have...
  2. Replies
    8
    Views
    1,152

    I agree with the new keyword to create a new...

    I agree with the new keyword to create a new instance, but that cannot be done with an object object, you would require a function object instead:


    function SoWide()
    {
    this.Even = false;...
  3. Replies
    3
    Views
    787

    Please make sure your keyword casing is correct...

    Please make sure your keyword casing is correct (eg. var), JavaScript is very strict about that too. Semi-colon at the end of your assignments please ( ; )
    Object member keys do not need to be...
  4. Replies
    2
    Views
    1,048

    jQuery You had a typo (,) before the encoding type,...

    You had a typo (,) before the encoding type, possibly invalidating that attribute:


    <form id='uploadForm' action='/FileTransferHandler.ashx' method='post' enctype='multipart/form-data'><button...
  5. Replies
    7
    Views
    2,849

    Hi, I have created a table with the columns...

    Hi,

    I have created a table with the columns you're inserting into... and used the query above without any changes. I get no error from the query.

    A few things to check, in the database:
    ...
  6. jQuery Hiya again. I didn't really read the code you...

    Hiya again. I didn't really read the code you submitted, but I understand what you're looking for, and based on the previous threads workings I did this for you as an example:


    <!DOCTYPE html>...
  7. jQuery Or a switch: $(document).ready(function() {...

    Or a switch:


    $(document).ready(function()
    {
    $(".serv_menu").click(function()
    {
    switch (this.getAttribute("value")) {
    case 'services' : alert('Services Clicked!'); break;
    case...
  8. jQuery Well, I was close the first time. I guess...

    Well, I was close the first time. I guess actually trying it would have helped :D
    Try this:


    <!doctype html>
    <html>
    <head>
    <link href="style.css" type="text/css" rel="stylesheet" />
    <link...
  9. Replies
    2
    Views
    1,064

    if ($conn) { $id = isset($_GET['id']) ?...

    if ($conn) {
    $id = isset($_GET['id']) ? (int)$_GET['id'] : 11;
    $row = get_by_id("SELECT * FROM users WHERE id = :id",
    array('id' => $id),
    ...
  10. jQuery If you're having issues with this part: ...

    If you're having issues with this part:


    alert("Menu item value ="+ $(".serv_menu").val());

    I'm sure you could query the current elements value just by using:


    alert("Menu item value ="+...
  11. Sounds really fancy if you can get it to work......

    Sounds really fancy if you can get it to work... but I'm thinking that almost nobody would ever see it. Might be a cool trick to pull on devices like the iPad, otherwise I'm sure your typical user...
  12. Replies
    2
    Views
    455

    You don't need double equals to compare, just one...

    You don't need double equals to compare, just one will do. Also, I grouped your OR conditions so the AND will be used in both cases:


    $query = ("UPDATE bridges SET issuecreated = 'New' WHERE...
  13. Replies
    7
    Views
    2,849

    Use backtick (`) for table and column names,...

    Use backtick (`) for table and column names, single or double quotes for string values:


    $query = "INSERT INTO `users` (`firstname`, `lastname`, `username`, `confirmusername`, `password`,...
  14. Replies
    6
    Views
    1,006

    console.log(myJson[1][0].num_inquiries); ...

    console.log(myJson[1][0].num_inquiries);

    Explained step by step:

    myJson...
  15. Replies
    2
    Views
    1,121

    jQuery Was reading the fancybox documentation, but...

    Was reading the fancybox documentation, but couldn't confirm what I thought would be possible (http://fancyapps.com/fancybox/#docs). So here is my shot in the dark, as I've never used any of these JS...
  16. Replies
    5
    Views
    1,312

    Depending on the actual purpose the code could be...

    Depending on the actual purpose the code could be written in different ways. For example if you constantly made changes to the elements then having a function, as Sup3rkirby suggested, to quickly...
  17. Replies
    5
    Views
    1,374

    Does it not work at all, or just not the way you...

    Does it not work at all, or just not the way you need it to?
  18. Replies
    5
    Views
    1,374

    Another way you could approach it is to only...

    Another way you could approach it is to only transmit the data on the initial hit, then if they move on the page at all:


    <script type="text/javascript">

    $(document).ready(function()
    {
    var...
  19. Replies
    9
    Views
    2,846

    Sorry to raise an older thread back; but now that...

    Sorry to raise an older thread back; but now that Microsoft's support for Windows XP has finally come to an end, has the opinion of continuing development for IE8 changed? The users have been warned...
  20. Thread: regex prob

    by bionoid
    Replies
    6
    Views
    868

    Expression seems very loose, here is one that...

    Expression seems very loose, here is one that actually expects something:


    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
  21. Replies
    8
    Views
    1,456

    An alternative, but sorting the rows...

    An alternative, but sorting the <table> rows based on their content:

    index.html

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8" />
    <title>Inputing information into a...
  22. Replies
    3
    Views
    597

    I know a style that not everyone will agree on,...

    I know a style that not everyone will agree on, but an example of how I might have handled the code above:


    if (foo === 1) { /* ETC ETC */ } else
    if (foo === 2) { /* ETC ETC */ } else
    if (foo...
  23. Replies
    6
    Views
    3,143

    I don't want to publish anything too personal...

    I don't want to publish anything too personal here. You would require more posts under your profile before the messaging feature will activate.
  24. Replies
    6
    Views
    3,143

    Like this? ...

    Like this?


    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8" />
    <title>HTML TABLE - Help Please</title>
    </head>
    <body>
  25. Replies
    4
    Views
    854

    As you seem easy to please ;) I've rewritten your...

    As you seem easy to please ;) I've rewritten your JavaScript function too. There is no need to support browsers such as IE5/6:


    function showUser()
    {
    var
    user =...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles