dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: toicontien

Page 1 of 20 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    423

    Removing a "note" from localStorage will involve...

    Removing a "note" from localStorage will involve 3 steps (assuming the notes variable is an Array):

    1. Loop through the notes variable to find the note you want to remove.
    2. Call...
  2. He wants to combine object oriented JavaScript...

    He wants to combine object oriented JavaScript with event handling. Three basic ways come to mind.

    Outside code binds the event handlers


    <form ...>
    ...

    <button type="button"...
  3. Try it first, then post the code you wrote if you...

    Try it first, then post the code you wrote if you run into problems.
  4. Sometimes the best thing you can do is search...

    Sometimes the best thing you can do is search GitHub or the Bower JavaScript package manager.



    $ bower search slideshow
    Search results:

    jquery.slideShow...
  5. Replies
    2
    Views
    539

    The return value of String#match in JavaScript is...

    The return value of String#match in JavaScript is an Array-like object. You might try match[1].
  6. Replies
    2
    Views
    1,055

    It sounds like the OP has questions about...

    It sounds like the OP has questions about RESTfull programming with AJAX.
  7. Replies
    2
    Views
    1,965

    While I can't tell you what the best framework...

    While I can't tell you what the best framework is, I can give you some pointers in evaluating frameworks for yourself.

    - Is it easy to test?
    - Is it easy to set up?
    - Does it have an active...
  8. You may be better off diving into Responsive...

    You may be better off diving into Responsive Design, which negates the need for a mobile web site. If you really do need to detect mobile browsers, say because you are building a complex web...
  9. Using the bind method is not a code smell,...

    Using the bind method is not a code smell, actually. Since most event handling in JavaScript just allows you to pass around functions, and not the context in which the function executes, the bind...
  10. Can you create a JsFiddle (http://jsfiddle.net)...

    Can you create a JsFiddle or point us to the page?
  11. Replies
    6
    Views
    4,426

    Sticky: Poll: Other The only real framework up there is AngularJS. ...

    The only real framework up there is AngularJS.

    AJAX is one part XMLHttpRequest (Asynchrounous Javascript And Xml) and one part programming pattern (Ajax).

    jQuery is a DOM manipulation library....
  12. Beware of repeatedly assigning a new value to the...

    Beware of repeatedly assigning a new value to the innerHTML property that creates invalid HTML:



    var element = document.getElementById(...);

    element.innerHTML = "<div>";
    element.innerHTML...
  13. Replies
    3
    Views
    775

    I think we can infer what the OP wants: AJAX...

    I think we can infer what the OP wants: AJAX.
  14. jQuery Try writing some JavaScript to begin with. People...

    Try writing some JavaScript to begin with. People will be more likely to help you with code you've already written. You won't find many people who will just write the code for you.
  15. Replies
    1
    Views
    1,349

    jQuery I'm assuming you want to append a new DIV, then...

    I'm assuming you want to append a new DIV, then style it inside the loop? It's difficult to tell. What should the loop be doing? Are you getting a JavaScript error?
  16. Replies
    1
    Views
    627

    Other Your code would need to look like this: ...

    Your code would need to look like this:



    var chartObject = createchart();
    addGraphXaxis(chartObject);

    function createchart(){
    var wChart = new Chart("cns_chartNode1");
    return WChart;
  17. Replies
    4
    Views
    934

    jQuery What is the actual slowdown on the page? Can you...

    What is the actual slowdown on the page? Can you identify the JavaScript functions or code blocks that take the most time? If you disable JavaScript in the browser and view the page, does it perform...
  18. Replies
    1
    Views
    655

    Other Even though this is two months after the fact,...

    Even though this is two months after the fact, always approach this sort of thing with this in mind: Don't Repeat Yourself.

    If you are able to use .NET MVC for a server side framework, most form...
  19. jQuery For those large blocks of concatenated HTML, I've...

    For those large blocks of concatenated HTML, I've used SCRIPT tags:



    <script type="text/html" id="foo">
    <img src="..">
    <p>Blah blah</p>
    </script>
  20. Replies
    1
    Views
    713

    After refreshing the ListBox, you'll probably...

    After refreshing the ListBox, you'll probably need to set the selectedIndex property of the list box to zero.
  21. Replies
    31
    Views
    74,673

    Sticky: A lot has changed in .NET land since this thread...

    A lot has changed in .NET land since this thread was started. ORM libraries for Visual Basic and C# have sprung up that work around these shortcomings, plus they provide you the benefit of not having...
  22. Replies
    2
    Views
    1,842

    Also note that this only occurred when the page...

    Also note that this only occurred when the page was rendered in Standards Mode. Quirks Mode did not exhibit the same problem. The full HTML source I used is below:



    <!DOCTYPE HTML>
    <html>...
  23. Replies
    2
    Views
    1,842

    IE8 Div + Table Overflow Bug

    I've been neck deep in HTML, CSS and JavaScript for 10 years, and I figured I had seen everything. Every now and again Everyone's Favorite Browser throws me for a loop.

    I found a display bug in...
  24. Replies
    6
    Views
    1,262

    Instead of using the dataset property on DOM...

    Instead of using the dataset property on DOM nodes, use the setAttribute() method and data-* HTML 5 attributes:

    slot.setAttribute("data-old", slot.getAttribute("data-now"));...
  25. You could create a new Virtual Directory in IIS,...

    You could create a new Virtual Directory in IIS, mark it as an application, and then deploy your CMS app to that virtual directory?

    www.example.com/ <-- This serves static pages...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles