Skip to content

u/Tylerlee12

In this archive from Jun 2014 to Jan 2021

3
posts
9
comments
0
media
19
score

Okay, so in my $.post call it would look like this:

   $.post('xxx.xxx.xxx.xxx/staffportal/public/apps/bikelockers-removedeleteuser/{{Input::get("userID")}}', function(data) {
//do stuff with data

});

and my routes would look like:

 route::post('/staffportal/public/apps/bikelockers-removedeleteuser/{value}', function(){ echo query results here });

Is this correct? Sorry if this is obvious, I'm fairly new to Laravel and not entirely familiar with everything involved in this whole process, so bear with me.

0 points

I tried to run it through my views folder, but it kept looking for jqueryPosts.php beginning from my public folder. Is there a way to make it look for the file in the apps folder?

For reference, here's my $.post:

     $.post('jQueryPosts.blade.php', {type: 'searchUser', userID: Input::get('userID')}, function(data){
          $("tableWrapper").html(data);
     });
0 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.