setup vue router
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
setup vue router
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
create web router in vue
import { createWebHistory, createRouter } from "vue-router";
import Home from "@/views/Home.vue";
import About from "@/views/About.vue";
const routes = [
{
path: "/",
name: "Home",
component: Home,
},
{
path: "/about",
name: "About",
component: About,
},
];
const router = createRouter({
history: createWebHistory(),
routes,
});
export default router;
jquery get value of radio input
$('input[name="name_of_your_radiobutton"]:checked').val();
get value of checked radio button jquery
$('form input[type=radio]:checked').val();
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us