- Screen name: destramic
- Expanded view
- List view
- hey guys i've made a plugin for my site which allows the user to edit thier data ie. editable table
as seen here: https://jsfiddle.net/dom484wo/
i have 2 problems
problem 1. validation
in line 251 i'm trying to apply validation to all input containing 'name', which is referring to the inputs that show in 1st column (name1, name2)
but i'm really strugging to get it to work...also i get an error:
on line 264 im trying to determine if the table is empy ie. all rows deleted....which also doesnt work.
i hope i can get a repsone to how i can get these problems fixed....thank you
- hey guys, i'm trying to find out if when making a remote connection in my validation, is it possible to return cusom error messages?
here is the code i'm using at the moment.
now when connected to localhost/validate/email_address i want it to return different error messages depending on the constraint.
ie. my php method
is this possible please?...if so how?
- hey guys im using a plugin called bxslider and i'm trying to detect when a user swipes the divs.
here are the versions i'm using...i have to use jquery 2.2.4 as the errors it creates with jquery mobile.
jquery mobile 1.4.5
sometimes i get the alert swiped sometimes i don't...this is the first time i've worked with jquery mobile so i'm sure i'm doing something wrong here
hope somene can help
- i've made a form which includes 3 steps...when you click next button the next stage will show...i'm wanting to use https://jqueryvalidation.org/ for the form validation but there's no examples on how i'm able to validate each step individually
can someone please tell me if this is possible and how it can be done please?
- i though this would be a lot easier but for some reason i'm having problems to get my dragenter to work with
but it works with selector on it's own fine. i've also tried :child
how can i please trigger an event on selector and any child please?
thank you guys
- hey guys i have a function like so:
i'm able to call for success and error function like so:
but what i've been trying to accomplish is to get the xhr function but i'm having no luck.
is what I'm trying to do possible please?
- hey guys,
i've been working on a multiple image uploaded but i'm having trouble running the script when selecting multiple images as it will only upload 2/3 out of 9 images for some strange reason
when i try to upload files singularly then all 9 will upload perfectly.
i'm getting no errors in my server log also, so it must be something wrong with my script somewhere if someone can point out where I'm going wrong please.
when user selects image(s)
read file function
and finally my uploader
i just don't understand how i can upload images one by one alright...but when trying to upload more, they all won't upload.
if someone could give me some advise on this it would be very helpful.
- hey guys i'm having a little trouble when it comes to firing a onload function when selecting files on local drive.
if i select multiple files to upload it can take a few up to 5 seconds for anything to happen due to how many images i upload and their size.
i'm trying to use:
but i'm not getting any response.
ideally i'd like to know when files have loaded and finished...is and how is this possible please?
- hey guys,
i'm trying to alter the css of a image using the following:
although preview_left and preview_top have a value
it returns 0px
here is my jsfiddle:
for the life of me i can't see where it is I'm going wrong, if someone can help me on why the css properties aren't changing please
- hey guys,
i know i'm using the correct code here but for some reason the offset left and right doesn't change when moving the draggable grid/image cropper here:
if you move grid and click on image i get the results of x and y as:x = 0 y=1 x2
which is incorrect...what is going wrong here please?
- hey guys i'm trying to get a preview image after it being cropped using this function...although its not displaying the cropped picture (preview)...i'm getting rather confused with all these co-ordinates etc and to be honest I'm slightly out of my depth here.
here is the function and my jsfiddle is here.
the image in the fiddle is 1980 x 1200 although in the crop process i have resized to 500 x 500
can someone please help / advise me on how to get a preview of the crop please...thank you
- i don't know if i need a js forums but..how do i unshift a object please?
in this scenario how i make key 5 appear at the beginning of the object? like so:
- to sort or to drag and drop?...i don't know....i need some advice and a bit of help please.
here is my fiddle:
basically what im after is for the images without the blue border to be able to switch places with the blue border image only and for the blue border image to replace one which hasn't got a boarder.
do i use sort of drag and drop on this please?...also fiddle isnt working for some strange reason.
any advise or help would be appreciated guys.
- the problem i'm having with this loop is when selecting 2 files in the input the files gets read with the read_file function, then when debugging my var id it always shows up as 2.
as the id is increasing while in the loop i expect a result of 0, 1 or 1, 2 (maybe) =/
here is my fiddle if someone can please tell me what is happening here.
- hey guys i have a scenario like so:
how it it possible for me to add text to #test-value selector without removing the <div class="remove"></div> already inside?
suppose i could do:
but is there a proper way of altering the text but not the html (in this scenario) without messing around with the div wrapping
- hey guys i made my own simple plugin which can be seen here:
when assigning my drop down plugin to selectors I'm unable to get both of them to work
why isnt both drop downs working and how can i make it so both do please?
thank you guys
- hey guys i'm wanting to know how to position the cursor on a input text field when clicking on it please?
what i want is for the cursor to always start at the beginning of the field.
i've had a search about but wasn't able to find what i wanted if someone could point me in the right direction.
Moderate user : destramic
- hey guys im currently using the load() function to load a report form inside a div container...this works beautifully.
but how can i detect when form is submitted after form is loaded please?
hey guys im trying to use the jquery countdown plugin but it's not displaying correctly.
timestamp : 2015-09-06 04:00:00
and it shows: 0 Days 03 Hours 11 Minutes and 40 Seconds remaining
can anyone tell me why please?
- hey guys i've just set up a web socket on my server...but does anyone have a good tutorial on how to connect and how to execute SQL queries to my database so i'm able to gather rows please?
- hey guys im a ajax request to get selected words so that i can then translate the text in my page...but while trying to replace text which works it effects every other script from working like my form validation, password strength meter etc...
i think that this part of the code is effecting the dom
is there a better way to replace text in the body?
- hey guys i'm using
i don't understand what is going on...any ideas please guys...thank you
- Hey guys im tring to use the grep() function to filter my array but im having problem as the array is returning empty.
what im trying to achive is if the selected category exists in the array then for it to return the relevant rows.
i've tried different variations in the return but im having no luck. Any advise would be greatful...thanks guys
- hey guys im tring to get a difference between 2 timestamps, now here's the first timestamp string i have:
and i've tried to use the following to create a timestamp
but its not working =/
basically i'd like to know how many days difference between the timestamp string and todays date.
if anyone can help or know a article on this, that would be great.
- hey guys im having a slight probelm with the in array function (obviously my fault)...but what im trying to do is if a category isnt in the count array then for it to be added to array with a value of 1.
if category exists in array increase value by 1.
here is my code which keps just running this line below even if in array
any help would be greatly appreciated...thank you
- Next »