www.webdeveloper.com

Search:

Type: Posts; User: toicontien

Page 1 of 20 1 2 3 4

Search: Search took 0.14 seconds; generated 29 minute(s) ago.

  1. 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"...
  2. 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.
  3. 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...
  4. Replies
    2
    Views
    381

    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].
  5. Replies
    2
    Views
    559

    It sounds like the OP has questions about...

    It sounds like the OP has questions about RESTfull programming with AJAX.
  6. Replies
    2
    Views
    770

    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...
  7. 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...
  8. 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...
  9. Can you create a JsFiddle (http://jsfiddle.net)...

    Can you create a JsFiddle or point us to the page?
  10. Replies
    3
    Views
    1,778

    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....
  11. 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...
  12. Replies
    3
    Views
    423

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

    I think we can infer what the OP wants: AJAX.
  13. 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.
  14. Replies
    1
    Views
    604

    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?
  15. Replies
    1
    Views
    479

    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;
  16. Replies
    4
    Views
    621

    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...
  17. Replies
    1
    Views
    429

    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...
  18. 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>
  19. Replies
    1
    Views
    484

    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.
  20. Replies
    29
    Views
    69,967

    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...
  21. Replies
    2
    Views
    1,103

    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>...
  22. Replies
    2
    Views
    1,103

    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...
  23. Replies
    6
    Views
    792

    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"));...
  24. 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...
  25. Replies
    1
    Views
    592

    How are you declaring the "ids" variable? Is it...

    How are you declaring the "ids" variable? Is it being declared in a "Using" statement?



    Using ids as Int
    ...
    End Using


    You'll have to pardon my lack of knowledge about VB syntax, as...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles