Search Results - VBForums

Search:

Type: Posts; User: tr333

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    210

    Re: prevent unauthorized posting to a php page

    I wasn't referring to anything specific, just some value that could be used to authenticate the request as coming from a valid client.
  2. Replies
    3
    Views
    210

    Re: prevent unauthorized posting to a php page

    How secure does this need to be? In other words, how sensitive is the data you're sending? If it's super sensitive, there's no question you'd want HTTPS. Otherwise you could just send a token to...
  3. Re: Convert Javascript Safari extension code to a standalone app

    If it's just for you, you could convert the extension into a userscript? Tampermonkey would be one option for this, although I've never run userscripts on browsers other than Firefox.
    ...
  4. Re: [Bootstrap] Simple Navbar with Dropdown

    http://codepen.io/anon/pen/GqvNzZ

    The navbar component requires the bootstrap javascript to be included on the page, which in turn requires jquery.

    This is also a good site for testing...
  5. Thread: forms and images

    by tr333
    Replies
    7
    Views
    322

    Re: forms and images

    For some unknown reason, I couldn't get jQuery to load properly in jsfiddle, hence why I switched it to codepen
  6. Thread: forms and images

    by tr333
    Replies
    7
    Views
    322

    Re: forms and images

    http://codepen.io/anon/pen/oLwOJk?editors=1111

    A few things to note:

    When adding resources to a fiddle/pen from github, you need to use https://rawgit.com/ so they are loaded with the correct...
  7. Thread: forms and images

    by tr333
    Replies
    7
    Views
    322

    Re: forms and images

    Any chance you could create an example using jsfiddle or codepen?
  8. Replies
    2
    Views
    201

    Re: embed HTML using javascript

    Take a look at this article on loading scripts

    http://www.html5rocks.com/en/tutorials/speed/script-loading/
  9. Replies
    3
    Views
    262

    Re: [CSS] Change RadioButton's Checked

    https://css-tricks.com/almanac/selectors/c/checked/

    You can check the checked status with CSS but you can't change/modify/set it. You need JS to do that.

    I don't have any experience with CSS3...
  10. Replies
    6
    Views
    541

    Re: Scrape html with js and php?

    If you want javascript on the server, just go straight to Node.js?
  11. Replies
    6
    Views
    541

    Re: Scrape html with js and php?

    Perhaps you might want to look at Node.js then? There's a few node modules available for doing web scraping.
  12. Replies
    8
    Views
    718

    Re: Strange style element

    Have you considered using something like Normalize.css?
  13. Replies
    5
    Views
    1,237

    Re: Trouble calling PHP (maybe)

    Did you check the browser console for error messages? If you need remote debugging, you can try the Valence add-on for Firefox.
  14. Thread: Validate Input

    by tr333
    Replies
    2
    Views
    1,429

    Re: Validate Input

    Any reason why you're not using the form-validation attributes "required" and "pattern"? Alternatively, if that's not enough you could use the jQuery Validation plugin? This plugin also supports...
  15. Replies
    3
    Views
    824

    Re: Code Tag Removes New Lines

    https://github.com/syntaxhighlighter/syntaxhighlighter
    http://prismjs.com/
    https://highlightjs.org/
  16. Replies
    3
    Views
    824

    Re: Code Tag Removes New Lines

    HTML strips all excess whitespace, so newlines will be ignored. The HTML5 spec mentions wrapping the <code></code> tags in <pre></pre> tags to preserve the whitespace.
  17. Replies
    6
    Views
    1,000

    Re: jQuery and SlickGrid - 90,000 rows!

    I've had similar success using DataTables.
  18. Replies
    2
    Views
    790

    Re: Compare date to a list of dates?

    What format are your date strings in? Better to have them in ISO8601 (YYYY-MM-DD) format if possible so there's no confusion for the browser.

    Moment.js also has some nice stuff for manipulating...
  19. Replies
    5
    Views
    923

    Re: [JavaScript] Validate Values

    Do you need to validate in JavaScript, or are you just wanting to validate on form submission? You should consider using the Constraint Validation API in HTML5, in combination with specific input...
  20. Re: Strange problems with browser rendering javascript [VS 2010]

    https://jsfiddle.net/tdzs93jb/3/

    You need to pass the event argument into your event handler for it to work in Firefox.
  21. Replies
    3
    Views
    1,306

    Re: Select height is not consistant

    Are you using custom styles anywhere on these form elements? Looks fine in Firefox with just plain HTML. Chromium has the <select> a couple of pixels smaller in height, but hardly noticeable.
  22. Re: CSS: IE 11 unwanted padding or margin

    Have you checked the DOM layout and styles in the F12 developer tools? That should give some insight into where the problem is occurring.

    I would also suggest checking your page in the Chrome...
  23. Replies
    12
    Views
    1,454

    Re: JQuery - Get Item in Array by Attribute

    There are polyfills available for ECMAScript 5 if you still need to support IE8.
  24. Replies
    3
    Views
    1,754

    Re: [RESOLVED] CSS - Display block, but not really

    Glad to help. I'm surprised more people don't know about it.
  25. Replies
    3
    Views
    1,754

    Re: CSS - Display block, but not really

    I'm thinking flexbox might be useful here?
  26. Replies
    6
    Views
    1,458

    Re: Want to use some keyboard shortcuts

    I've not used it before, but maybe the accesskey attribute might be useful here?
  27. Re: Difficulty with the Javascript Not Comparison Operator

    Run your code through http://jshint.com/ or http://jslint.com/ and you will get a complete report of all syntax/coding errors.
  28. Replies
    2
    Views
    948

    Re: Breakpoint skips create element

    Have you checked the for loop conditions? Is clientHeight returning a value > 0? Maybe try with getBoundingClientRect. Div elements will have zero height by default, unless you specify it...
  29. Re: [RESOLVED] Firebug doesn't work with SSL/HTTPS sites??

    Yeah, I've moved away from Firebug and back to just using the built-in Firefox developer tools. Have you tried out Firefox Developer Edition?
  30. Re: Firebug doesn't work with SSL/HTTPS sites??

    HTTPS shouldn't have any effect on this, unless the site is on HTTPS and the JavaScript is sourced from a HTTP url? Does it work in Chrome/Chromium/Opera/IE debuggers?
  31. Replies
    3
    Views
    960

    Re: filtering not working on android browsers

    Did you check the android version compatibility? CSS Filters are only implemented from Android 4.4 onwards. Are you using the -webkit- prefix? Perhaps you should also consider using a polyfill for...
  32. Replies
    8
    Views
    1,086

    Re: html, external javascript and external css

    Looks like you want to use the filter property. Take note of the browser support for this feature when deciding whether to use it, and whether you need to include a polyfill.
    ...
  33. Replies
    3
    Views
    1,219

    Re: Programming language

    http://blog.ted.com/10-places-where-anyone-can-learn-to-code/

    https://www.khanacademy.org/computing/computer-programming

    https://code.org/learn
  34. Re: Unit Testing Tool/Add-in for Javascript

    https://mmanela.github.io/chutzpah/

    Says it integrates with QUnit, Mocha, and Jasmine. Take your pick.
  35. Re: Javascript throws an error causing rendering interruptions.

    Have you run it through the browser's debugger with breakpoints? I'd also switch the alert() calls to console.log() for added user friendliness :)
  36. Re: Enigmatic strings between a responses header and data

    Where does the header content to stop and the body content to start in that snippet?

    Check that your response matches the proper syntax? http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html
    ...
  37. Re: How to save a file after clicking on a link or button

    You can add the download attribute to the <a> link.

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
    http://davidwalsh.name/download-attribute
    http://caniuse.com/#feat=download
  38. Re: Width of Span Not Setting and Style Elements After Checkbox Checked

    I'd take a look at the implementation behind these to see how they do it:

    http://demos.jquerymobile.com/1.4.5/flipswitch/
    https://proto.io/freebies/onoff/...
  39. Replies
    4
    Views
    1,101

    Re: Enabled and Disabled Button Properties

    kfcSmitty is right. There is no way to "disable" or "enable" a button via CSS. You need to use JavaScript to toggle the disabled attribute of the button/input.

    For the CSS, just style the...
  40. Replies
    3
    Views
    1,461

    Re: JavaScript Array From Striing

    That's easy. Just run the string through JSON.parse(). It's supported in every browser including IE8+. If you need it in older browsers, you can use the JSON3 polyfill.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.