www.webdeveloper.com

Search:

Type: Posts; User: mao3

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    5,690

    I figured out the solution involves either using...

    I figured out the solution involves either using session variables or writing to the page you are redirecting to, using the node.js file system module. Express/connect makes session variables pretty...
  2. Thread: Image replacement

    by mao3
    Replies
    9
    Views
    1,631

    $('.oneimage').click(function () { // make sure...

    $('.oneimage').click(function () { // make sure oneimage is a class
    var srcString = $(this).attr("src");
    var mainImage;
    if(srcString == "images/home/thumbs/1.jpg")
    {
    ...
  3. Replies
    1
    Views
    5,690

    [RESOLVED] node.js redirect and post

    I have an app I made in node.js and it's posting data, mostly from a table, to the server using jquery's post method. The request is handled in app.js and it responds with an html string.

    Example...
  4. jQuery I did...

    I did tablecell.clone().children().remove().end().text() which cloned the cell, removed the select element, then returned the text remaining in the cell. The regex method seems cleaner, but I must...
  5. Thread: Image replacement

    by mao3
    Replies
    9
    Views
    1,631

    You could use a class selector instead of an id...

    You could use a class selector instead of an id selector. So all thumbnails would have the same class attribute, and inside the function you can use $(this).attr("src") to distinguish between the...
  6. Replies
    4
    Views
    1,008

    Put the links inside tags.

    Put the links inside <p></p> tags.
  7. Thread: Image replacement

    by mao3
    Replies
    9
    Views
    1,631

    Use the jquery library. You can add click...

    Use the jquery library. You can add click functionality to each of the thumb nails and change the source of the main image based on which thumbnail is clicked.
  8. jQuery [RESOLVED] Get Text from Table Cell with Dropdown

    I want to get text from a table cell that has both text and a dropdown with text in it and when I use tablecell.text() it returns the text from the dropdown along with the cell text. What do I do so...
  9. Replies
    6
    Views
    829

    Kever is right. Don't know how I missed that. ...

    Kever is right. Don't know how I missed that. Still not sure that's the best way to simplify your code, but whatever works I guess.
  10. Replies
    4
    Views
    980

    Basically, you want to make a website where users...

    Basically, you want to make a website where users can upload and download files to and from a database. Take baby steps. Maybe start off by making a database using MySQL with tables that store the...
  11. Replies
    5
    Views
    1,149

    The example here is good...

    The example here is good http://stackoverflow.com/questions/155188/trigger-a-button-click-with-javascript-on-the-enter-key-in-a-text-box
  12. Replies
    1
    Views
    926

    1 evaluates to true and 0 evaluates to false, so...

    1 evaluates to true and 0 evaluates to false, so whenever moneda is 0, the loop ends.
  13. Replies
    5
    Views
    1,149

    Use the jquery library and you can do a keyup...

    Use the jquery library and you can do a keyup event handler. I believe the enter key registers as 13.
  14. Replies
    6
    Views
    829

    There is no way to set a function to a variable,...

    There is no way to set a function to a variable, but you can have the function return something.


    function apple(){ return "apple"; }
    var A = apple(); //A is set to apple
    document.write(A);
    ...
  15. Replies
    6
    Views
    829

    No. When you set a variable to a function, the...

    No. When you set a variable to a function, the variable stores whatever that function returns. If the function does not return anything, the variable is set to null.
  16. [RESOLVED] Function with multiple parameters as parameter

    I want to do functional programming in javascript.


    function forEach(array, function)
    {
    var newArray = new Array();
    for(var i=0; i < array.length; i++)
    {
    newArray[i] =...
Results 1 to 16 of 16
HTML5 Development Center



Recent Articles