Jump to content

sug15

Members
  • Posts

    34
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

sug15's Achievements

Member

Member (2/5)

0

Reputation

  1. Haha, yes, I hate that too. Are there any languages something like this might be particularly useful for? I get that it's sort of "meh, already kinda there" for most.
  2. I made a quick mockup to give you a better idea. But, I think you've pretty much answered the question, unless I didn't explain it very well. It would work sort of like Google instant, the results would just be loaded via AJAX. "More details" would go to PHP's doc.
  3. Ok, thanks guys. So essentially, it sounds like even though something could be made that was slightly easier to use, PHP's doc is still good enough that something like I propose would not be worth switching to. Are there any other languages this might be useful for that don't have a great doc like PHP? Python maybe?
  4. For PHP. The documentation could be better. Often I just want an example or a quick run through, and I don't want to have extra clutter. Probably more likely to be true for newcomers.
  5. Essentially, it would be a "quick" documentation. You enter a keyword, function, etc. and the relevant function pops up, gives a one-sentence explanation, and gives an example. Just a little idea I had. Would you find this useful? Is there anything that could make it more useful?
  6. I finally figured it out. The trick was to use createElement while the page was loading (in other words, before onload). This worked: document.createElement("testele"); window.onload = function() { document.getElementsByTagName("testele")[0].innerHTML = 'hi'; };
  7. I have the non-standard element <testele></testele> In every browser except IE, this bit of JavaScript will successfully change the content of the above element document.getElementsByTagName("testele")[0].innerHTML = 'hi'; However, if I change the <testele> to just a <span> (in the HTML and the JavaScript), it now successfully changes the content of the element in every browser, including IE. Is there any fix? I have searched around and tried a bunch to no avail. Thanks!
  8. Bump.
  9. Let's say I'm requesting a 5 megabyte data file with cURL. I want to echo it for the user as it gets downloaded with cURL. Is there any way to do this? I'm also just using cURL as an example, it could be file_get_contents(), or something else as well. Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.