insert form from html?

Questionsinsert form from html?
Gary Brett asked 10 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 10 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

16 + 18 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?