www.webdeveloper.com

Search:

Type: Posts; User: meek

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    103

    Problems with form validation

    Hi.

    I have this form. I'm using jQuery for validation and css for better usability.
    It works more or less as intended, however, I have problems with the select boxes. To recreate the issue, try...
  2. I actually managed to solve it by changing the...

    I actually managed to solve it by changing the button click function to:


    $('#btn').click(function(){
    var selected = $("#selector").val();
    $('.phone').hide();
    ...
  3. [RESOLVED] Select - display content before actually selecting an option

    Hi.

    I have two conditional select boxes:

    <script type="text/javascript">
    $(document).ready(function () {
    $department = $("select[name='prod']");
    $ph =...
  4. @Nomistake: It works like a charm. Thanks a lot....

    @Nomistake: It works like a charm. Thanks a lot. :-)
  5. Replies
    2
    Views
    1,174

    I ended up changing my button to an input...

    I ended up changing my button to an input type="submit" - that solved it.
  6. [RESOLVED] Two floated divs, if one is empty, hide it, and make the other one width:100%

    Hi.

    I have the following setup:
    <style type="text/css">
    .clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
  7. Thanks Donatello :)

    Thanks Donatello :)
  8. That's great - solves the problem. Thanks a...

    That's great - solves the problem.

    Thanks a lot.
  9. [RESOLVED] Click button, check checkbox with matching id

    Hi.

    I have a page with some buttons. Easch button has a hidden checkbok. I'd like to check the checkbox when the button is clicked on.

    The value of the checked checkboxed is calculated.
    ...
  10. Replies
    2
    Views
    1,174

    [RESOLVED] toggleClass and background images

    Hi.

    I have a button which selects a hidden input field when clicked. This part works fine. However, I'm using jQuery and toggleClass in order to switch class, icon and label of the button, and...
  11. Hi. I managed to solve this in an easy way....

    Hi.

    I managed to solve this in an easy way. The code is this:

    <link id="emptyPrint" rel="stylesheet" media="print" href="print.css" type="text/css" />
    <script type="text/javascript">
    function...
  12. Thanks. Will give it a try. I get an error in...

    Thanks. Will give it a try.

    I get an error in line 3, the if line:


    <script type="text/javascript">
    function specialPrint() {
    if...
  13. [RESOLVED] Hide textarea if empty (for printing)

    Hi.

    I have a page with a textarea. I would like to be able to hide the textarea if it's empty when the page is printed.

    I have tried using css only, like this:


    <style type="text/css">...
  14. Replies
    4
    Views
    2,764

    Well, this is of course the solution to my...

    Well, this is of course the solution to my question above:


    <img id="photo" src="" alt="" />
    <div id="caption"></div>
    <script type="text/javascript">getID()</script>
    Thank you for your help....
  15. Replies
    4
    Views
    2,764

    Thank you guys for your replies. I see your...

    Thank you guys for your replies. I see your points.

    One more question - I keep my script in an external .js file as I'm using it one more than one page. So if I were to go for xelawho's solution,...
  16. Replies
    4
    Views
    2,764

    [RESOLVED] Alternative to document.write?

    Hi.

    I have this script, which works fine:

    function getID(){
    var str = window.location.href.split('&');
    var photo = '';
    var caption = '';

    if (str[1] == "31803"){
  17. Replies
    3
    Views
    2,847

    Hi and thanks. I have actuelly been to both...

    Hi and thanks.

    I have actuelly been to both sites, but I they don't seem to calculate alpha transparency, the RGBa thing.
  18. Replies
    3
    Views
    2,847

    CSS3 linear gradient syntax help

    Hi.

    I'm trying to create a gradient background using CSS3 techniques.
    I'd like to make a linear gradient from top to bottom, and go from transparent to #eee. However, I'm having trouble with the...
  19. Replies
    8
    Views
    3,613

    Fang - thanks a lot. I have added your code to...

    Fang - thanks a lot. I have added your code to the 2nd window. I guess I still need to keep the other code in the form in the first window?

    What exactly does this second piece of code do?
  20. Replies
    8
    Views
    3,613

    Hi Fang. Seems to work fine. Thanks a lot. ...

    Hi Fang.

    Seems to work fine. Thanks a lot.

    Kind regards.
  21. Replies
    8
    Views
    3,613

    Hi and thanks. Where do I put this? The input...

    Hi and thanks.

    Where do I put this? The input fields should only be cleared after submitting.
  22. Replies
    8
    Views
    3,613

    [RESOLVED] Onsubmit clear form - how?

    Hi.

    I have this form which opens a new page after submitting the info. I would like to be able to clear the form after it's submitted.

    <form name="login" method="post"...
  23. I have found a solution here...

    I have found a solution here.

    Instead of
    GEvent.addListener(marker, "click", function(){
    marker.openInfoWindowHtml("<b>Our location</b><br />" + place.address,{maxWidth:200});});

    I'm...
  24. [RESOLVED] Google Maps geocoding - address format

    Hi.

    I am using this script to put various address on a map. It works perfectly, but addresses are always displayed in one line in the info window, like e.g. "1600 Amphitheatre Pky, Mountain View,...
  25. Hi. Thanks a lot for your reply. It works like...

    Hi.

    Thanks a lot for your reply. It works like a charm. Didn't know it was that simple. And you're right - I will change the ids into classes.

    Thanks again.
Results 1 to 25 of 88
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles