insert form from html?

Questionsinsert form from html?
Gary Brett asked 4 years ago

Hi Abu, hope your well. Bit of a long shot but is it possible to open an insert form from php without a grid visible? I am using jquery fullcalender and wanted to use the grid insert form to add events to the database? I have it working when using grid but think it may be nice to have user add an event direct from calendar?

1 Answers
Abu Ghufran answered 4 years ago

A quick solution could be to hide the grid from start, using display:none … and use JS click event to display add dialog.
e.g. if grid id is list1,

<div style="display:none">
<?php echo $out?>
</div>

<input type="button" value="Add" onclick="jQuery('#add_list1').click()">

Your Answer

4 + 12 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!