Jump to content

Search the Community

Showing results for tags 'does not work'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hello all, I have been searching for hours on google for answer but i couldnt find anything. So i have this "edit your post" form which is a set of text fields, text area, radio buttons and two datepicker calendar fields. I am getting the data from the MySql table to display it in these form fields and the submit button will simply fire Update query. But the problem is that when i add datepicker JQuery to this form, it does not display any values in the text fields from database but only in textarea box. Below is the JQuery script that i am using... <link rel="stylesheet" href="css/themes/base/jquery-ui.css" /> <script src="js/jquery-1.9.1.js"></script> <script src="js/ui/jquery-ui.js"></script> <script> $(function() { $( "#datepicker" ).datepicker(); $( "#datepicker2" ).datepicker(); }); </script> This is the form that is supposed to display values from database table. When i remove the above Javascript, it works. And when i use the above script, it shows values as Undefined for all the textfields. <form name="frmPost" method="post" action=""> <table border="0" cellpadding="5" cellspacing="5"> <tr><td>Title : </td></tr> <tr><td><input type="text" name="txttitle" size="75" value="<?php echo $title; ?>"/></td></tr> <tr><td valign="top">Description : </td></tr> <tr><td><textarea name="txtdescription" rows="10" cols="75" ><?php echo $description; ?></textarea></td></tr> <tr><td>Listing End date : </td></tr> <tr><td><input type="text" name="txtenddate" value="<?php echo $enddate; ?>" id="datepicker"/></td></tr> <tr><td>Project Completion Dead line : </td></tr> <tr><td><input type="text" name="txtdeadline" value="<?php echo $deadline; ?>" id="datepicker2"/></td></tr> <?php if($ptype=='w') { ?> <tr><td> <input type="radio" name="txttype" value="w" checked> Web Based <input type="radio" name="txttype" value="s">Desktop Based </td></tr> <?php } else if($ptype=='s') { ?> <tr><td> <input type="radio" name="txttype" value="w">Web Based <input type="radio" name="txttype" value="s" checked>Desktop Based </td></tr> <?php } else { ?> <tr><td> <input type="radio" name="txttype" value="w">Web Based <input type="radio" name="txttype" value="s">Desktop Based </td></tr> <?php } ?> <tr><td><input type="submit" name="btnupdate" value="Update" class="button" /></td></tr> </table> </form> I need some help in fixing this.
×
×
  • 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.