dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: NotionCommotion

Page 1 of 12 1 2 3 4

Search: Search took 0.06 seconds.

  1. 1) You say tomato, I say tomahto... 2) Which was...

    1) You say tomato, I say tomahto...
    2) Which was done per the documentation. The inconsistent behavior only occurs when the dialog method is initiated with the modal option.
  2. TinyMCE links don't work with jQueryUI Dialog using Modal

    I may have found a "fix", but I have no idea why it works, and would like to know why.

    I have a jQueryUI dialog which contains a tinyMCE editor, and I am able edit links (see...
  3. Replies
    4
    Views
    2,085

    Yes it did. Thanks var s1="someprefixtext";...

    Yes it did. Thanks

    var s1="someprefixtext";
    var s2="someprefixtext (StuffIWant)";
    var stuff=s2.slice(s1.length+2,-1);
  4. Replies
    4
    Views
    2,085

    If I am already doing it the best way, please...

    If I am already doing it the best way, please just respond saying so. Thanks
  5. Replies
    4
    Views
    2,085

    Extracting part of a string

    Let's say I have the following two strings:


    var s1="someprefixtext";
    var s2="someprefixtext (StuffIWant)";

    What is the best way to obtain "StuffIWant"? Maybe the "someprefixtext" text...
  6. Replies
    1
    Views
    1,167

    Please anyone?

    Please anyone?
  7. Replies
    1
    Views
    1,167

    Simple HTML5 file uploader

    Trying to use the HTML5 file upload interface for the first time, and hoping to get some clarification.


    Why does this.files[0] cause IE-11 to choke?
    What is the correct mime type for a zip...
  8. Thanks Sup3rkirby, This will be a lesson I...

    Thanks Sup3rkirby,

    This will be a lesson I will never forget! I thought I must have had two events tied to the element, and the second one forcing the browser to a different URL.

    Agree...
  9. I failed to mention, but my HTML included the...

    I failed to mention, but my HTML included the following:

    <base href="/admin/">
    Evidently, using # as the links href value causes the browser to change locations and go to /admin/# which is a...
  10. Maybe a clue. The first dialog which opens...

    Maybe a clue. The first dialog which opens requests some json from the server to populate the second dialog (which I am having problems with), and gets a list which includes HTML such as:

    <a...
  11. How could onclick cause page reload???

    I have the following script. #dialog-log happens to be a div brought up by another dialog, however, I don't think that is relevant. I click a given a.displayDetail, and it brings up the dialog...
  12. Replies
    9
    Views
    2,319

    I think a basic MVC works pretty well. I've...

    I think a basic MVC works pretty well. I've found a template engine like Twig helps, albeit probably slows things down a bit. Controller does a bit of logic, requests data from the model, and...
  13. Replies
    9
    Views
    2,319

    Thanks \\.\. I also found...

    Thanks \\.\.

    I also found https://github.com/phstc/jquery-dateFormat and http://momentjs.com/. momentjs seems the most popular, but don't know if it is overkill.

    Any experience with either?
  14. Replies
    9
    Views
    2,319

    Thank you Sup3rkirby and \\.\, Yes, I can...

    Thank you Sup3rkirby and \\.\,

    Yes, I can format at the server. The thing is I get mixed messages. Some say "the view should perform all formatting, not the model!!!!"

    Maybe I shouldn't care?
  15. Replies
    9
    Views
    2,319

    Format dates

    The JavaScript client receives "2014-10-20 18:15:00" from the server. I would like to display it as "10/20/2014 6:15 PM". I am using the Handlebars JavaScript template, and I know how to create...
  16. Seems like a strange way to do so. Yea, I had...

    Seems like a strange way to do so.

    Yea, I had already done so. Remarkably little information.

    Thanks, I guess I will not worry about it, and assume the domain name is still in process of...
  17. I currently have another index.php at the...

    I currently have another index.php at the expected location, and it is definitely doesn't render the above posted HTML.

    Do you know what the JavaScript is doing? What is imgaft.com?
  18. New domain displaying strange JavaScript

    I recently obtained a domain name from GoDaddy, and pointed it to my VPS providers (PHP Webhosting) name servers.

    It seems to have resolved, but when I view the page, I just get the following. ...
  19. In regards to isBackPossible, I open up a new...

    In regards to isBackPossible, I open up a new dialog and currentPage is set -1. I click a link, and currentPage is now equal to 0. I should be able to go back, no? What am I missing?

    Suppose...
  20. Thank you AlexAtNet, Very impressive. ...

    Thank you AlexAtNet, Very impressive.

    isBackPossible would return true if currentPage is 0 or greater, correct?

    isFowardPossible would return true if pages.length-currentPage is 2 or greater,...
  21. Keeping track of history and simulating forward and backward buttons

    Hi,

    First of all, I am not trying to use the browsers forward and backwards button. What I am trying to do is add a forward and backward button to a dialog.

    The dialog will have some links...
  22. Replies
    1
    Views
    1,177

    Create object of Linux file system

    I would like to create an object which mirrors a Linux file system. Doesn't need to be very complicated, doesn't need file permissions, etc, but just lists the files with KB size and directors under...
  23. Yes, you could do it client side with JavaScript....

    Yes, you could do it client side with JavaScript. Looking at your code, however, it appears that you are using some sort of server side parsing framework, and you would want add the CSS server side....
  24. I don't think your curly brackets matched up, but...

    I don't think your curly brackets matched up, but not positive. I strongly recommend including curly brackets for all if statements, and terminating each line with a semi-column. For instance,...
  25. Instead of replacing the select element, I now am...

    Instead of replacing the select element, I now am leaving it in place and hiding it, updating its value based on which list element was clicked, and not using the data-value attribute (see...
Results 1 to 25 of 282
Page 1 of 12 1 2 3 4
HTML5 Development Center



Recent Articles