www.webdeveloper.com

Search:

Type: Posts; User: johnWebber

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    895

    Here's the idea. you have to select the element...

    Here's the idea. you have to select the element after it exists. So in your click event where the new element appears. Do the selector inside that event.

    ex:

    The HTML


    <a href="#"...
  2. based on what you've written... CREATE...

    based on what you've written...



    CREATE TABLE `patients` (
    `ID` int(11) NOT NULL AUTO_INCREMENT,
    `name` varchar(36) NOT NULL,
    `birthdate` varchar(36) NOT NULL,
    `expiration`...
  3. Thread: php

    by johnWebber
    Replies
    4
    Views
    934

    infact, http://google.com

    infact, http://google.com
  4. Replies
    1
    Views
    928

    you can use fgetcsv() or str_getcsv() get the...

    you can use fgetcsv() or str_getcsv() get the comma separated values as an array
  5. Replies
    2
    Views
    1,055

    just my 2 cents, trying to manipulate the back...

    just my 2 cents, trying to manipulate the back button is never a good idea. There are other ways to manipulate pages like having hash tags. You might want to look for a javascipt/jquery history...
  6. Replies
    1
    Views
    730

    A quick and simple way to keep track of people...

    A quick and simple way to keep track of people using you API is to have a key based on their URL. Also performance is going to be tricky since you are serving up images as well, I guess you could try...
  7. Are you trying to download a file and save it on...

    Are you trying to download a file and save it on your server with php? If so you use CURL to do your login stuff... Depending on how the login works you will have to set POST/GET variables or use...
  8. Replies
    2
    Views
    922

    you might want to take a look at session...

    you might want to take a look at session hijacking. Take a look at this article
    http://phpsec.org/projects/guide/4.html

    Also you might want to do a bit of research on xss (cross site scripting)
  9. also don't forget to call session_start() at the...

    also don't forget to call session_start() at the beginning of each file
  10. The only way to send additional data to a...

    The only way to send additional data to a different form (that I know of) is to have it in a hidden field. I guess, (depending on the kind/amount of data) you could pass it thought the url with get...
  11. Replies
    2
    Views
    559

    I agree with cbVision but here's an example ...

    I agree with cbVision but here's an example



    str.replace(/\s+?/g,"/")
  12. Replies
    2
    Views
    941

    try using like in your query as well. ...

    try using like in your query as well.


    $query = "SELECT * FROM table_name WHERE columnname LIKE &#37;value%";


    also
  13. I use jquery so I can hardly remember how to use...

    I use jquery so I can hardly remember how to use straight up java script but here is what is should look like.



    $('form').submit( function(){
    if ( $('select[name="sizechoice"]').val() == '-'...
  14. Replies
    3
    Views
    1,646

    yea, you may need to style it in your theme, if...

    yea, you may need to style it in your theme, if you are using a third party theme, create a child theme with just your stylesheet, import the style.css from the parent theme via css and add your...
  15. Replies
    3
    Views
    1,646

    you may need to use ...

    you may need to use <?php get_search_form(); ?> instead of making your own


    see http://codex.wordpress.org/Creating_a_Search_Page
  16. Replies
    1
    Views
    624

    There a different ways to cache browsers now a...

    There a different ways to cache browsers now a days, most are done with apache and others are headers send with php. Here's an example with .htaccess taken from the html5boilerplate



    #...
  17. Replies
    1
    Views
    820

    maybe something like this (written with jquery) ...

    maybe something like this (written with jquery)



    $(document).ready(function(){
    $('#selectID').change(function(){

    for( var i=0; i<$(this).val(); i++ ){
    ...
  18. Replies
    5
    Views
    3,917

    Thanks for the feedback nap0leon, I really...

    Thanks for the feedback nap0leon, I really appreciate it. We will change it right away.
  19. Replies
    3
    Views
    2,997

    Near the bottom of the page, include a script tag...

    Near the bottom of the page, include a script tag



    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script...
  20. verify that $Number is valid, it could have a...

    verify that $Number is valid, it could have a string value set. do something like a intval() or a preg_replace('~[a-zA-Z]~i', '', $number) to remove non int characters

    check the $result. if...
  21. Replies
    5
    Views
    3,917

    Thanks @SyCo We greatly appreciate your feed...

    Thanks @SyCo We greatly appreciate your feed back. This was exactly what we were looking for. I will definitely implement those changes as soon as I can. Thanks again
  22. Replies
    3
    Views
    2,997

    If you don't want to form to submit you'll have...

    If you don't want to form to submit you'll have to do it through AJAX
    ex


    $('#formID').submit(function(){
    $.ajax({
    type:post,
    data:$(this).serialize(),
    ...
  23. Replies
    9
    Views
    1,514

    So they both do exactly the same thing? I would...

    So they both do exactly the same thing? I would probably say the second one is a little more efficient since you aren't assigning it to a variable.
  24. Replies
    9
    Views
    5,034

    <input type="radio" NAME="radio" id="pickup" onClick="alert(value)">

    if the radio button is clicked, it will alert the value which isn't set in your code. try this



    <script...
  25. Replies
    9
    Views
    5,034

    you could put the form tag around the the...

    you could put the form tag around the <table> the for will handle submits to the server, so you submit button should be
    <input type="submit" value="send order" />
Results 1 to 25 of 36
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles