Posted 1 month ago by davy_yg


I would like to know why the apply button does not work? I wonder if I write the location.href incorrectly?


<div class="card-body" >
                            <p><?php echo Lang::get('message.job-intro1');?></p>
                            <div class="job-desc">                                    
                                <?php echo $data['description']; ?> 
                            <div class="career-background">
                                <?php echo $data['background']; ?>
                            <div class="competencies">
                                <?php echo $data['qualification']; ?>
                            <button class="btn btn-primary" onclick="location.href='{{ url("/form/".<?php echo $data["detail_id"]; ?>) }}'"> Apply </button><br>

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.