« first day (1307 days earlier)      last day (3866 days later) » 

00:13
!!wheatly
0
Q: Chaining multiple ajax requests with promises

cat-tI'm looking to chain multiple ajax requests, something along the lines of: get first JSON, if successful move on and get second JSON, if successful make a new object consisting of both JSON data. // get first json $.getJSON('http://www.json1.com').then(function(json1){ return json1 }).then(f...

00:45
@rlemon saw this girl give a talk/demo of noogn.github.io/leapjs-webaudio-talk last night. Seemed like something you'd be interested in.
Scratch that. she hasn't posted her demo yet
01:14
@Anil Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@N0thing Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@rlemon Also, lorempizza FTW!
01:39
I wanna punch the guy who thought it'd be a good idea to give inline-block elements immutable whitespace margins
what do you mean?
inline-block elements have that whitespace that stops them from sitting flush without being floated or using a blank font
It makes tile designs a real pain in the ass sometimes
'Cause I don't wanna float everything!
nahh
what is your markup
ul>li's ?
imgs
i'll let the code speak for itself.
;)
whitespace in the document is what you are seeing
01:49
@scottcheng Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
02:16
hey guys, i have a video "pop up window" that autoplays on page load (it's a video ad) . It works nicely, but unfortuantely, whenever the user goes back to this page or clicks refresh, the video will pop up and play again. How do I set it so it only plays once (perhaps a cookie or something) and not annoy the user?
02:36
this was supposed to replace all the linebreaks with html <br/> astring.replace("\r\n", "<br />") but it only replaces the first one. Presumably this is due to JS utter lack of type safety deciding the match term is a regex expression, am I right?
You need the g flag
Could you elaborate? MDN says there are Chrome issues with that.
hey should a cookie script be set in a document ready object or outside that?>
@Kamagatos Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@guest Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
03:18
@rlemon Yeah yeah yeah. The same can be achieved with comment block separation. But it's not sexy! IT'S NOT SEXY!!!!
03:52
@kingkong0924 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
1 hour later…
05:14
@ScottM Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
05:53
Hello everybody
var sexy,
JavaScript;
function sexy() {
return this.sexy ? ("ugly. Rails is HOT.","Sexy!") : "no Python.";
}
JavaScript = {
sexy:sexy,
is:function (sexAppeal) {
sexAppeal = true;
if (!arguments[0]) {
console.log("JavaScript is " + this.sexy());
}
} };
JavaScript.is();
!arguments[0], where is it getting the value?
Just confused. :(
@Mr.Chowdary Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
!!tell Carnal format
@Carnal Format your code - hit Ctrl+K before sending and see the faq
var sexy,
JavaScript;
function sexy() {
return this.sexy ? ("ugly. Rails is HOT.","Sexy!") : "no Python.";
}

JavaScript = {
sexy:sexy,
is:function (sexAppeal) {
sexAppeal = true;
if (!arguments[0]) {
console.log("JavaScript is " + this.sexy());
}
}
};
JavaScript.is();
Did i do it correctly.
Sort of. Indentation would be nice
05:59
!!/tell Carnal format
@Carnal Format your code - hit Ctrl+K before sending and see the faq
@dystroy Beat ya to it
I did. Hmm. hold on
<script type="text/javascript">
	var sexy,
	JavaScript;
	function sexy() {
		return this.sexy ? ("ugly. Rails is HOT.","Sexy!") : "no Python.";
	}

	JavaScript = {
		sexy:sexy,
		is: function (sexAppeal) {
			sexAppeal = true;
			if (!arguments[0]) {
				console.log("JavaScript is " + this.sexy());
			}
		}
	};
	JavaScript.is();
</script>
There we go
just wondering about this line:

!arguments[0], where is it getting the value?
!!/tell Carnal mdn arguments
06:01
From the values being passed into the function
!!>function foo (bar) { return arguments[0]; }; foo('this is an argument');
@monners "this is an argument"
I went there but the examples over there are kinda not straight forward. or probably I just do not simply understand.
i see
so it's something like this
function(argument[0])
where argument[0] = to sexAppeal?
@monners Thanks man.
06:42
heh, when checking the document.cookie documentation on MDN, i noticed a small js framework, cookie.js to use cookies as key/value pair
There's a problem with AdBlock... blog.mozilla.org/nnethercote/2014/05/14/…
that's a known thing
a reason why i removed it
i like firefox, but there is still something which i cannot find the reason/cause
0
Q: WD Calender date picker change dateformat

Steve Bals$("#stpartdate").datepicker({ picker: "<button class='calpick'></button>", onReturn:function(d){ $("#stpartdate").val(d.Format("m/d/Y")); $("#etpartdate").val(d.format('m/d/yy'))...

@SteveBals Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
the cache is always over 250 MB.
06:52
Guys simple question how to get the window size on orientation change with Mobile Jquery
my code is like this
$('#map-canvas').height( $(window).height() - $('#head1').height());
but this code only works when in portrait mode
when I change the orientation to Landscape it remains same
any one can help me ??
0
Q: WD Calender date picker change dateformat

Steve Bals$("#stpartdate").datepicker({ picker: "<button class='calpick'></button>", onReturn:function(d){ $("#stpartdate").val(d.Format("m/d/Y")); $("#etpartdate").val(d.format('m/d/yy'))...

07:11
http://jsfiddle.net/Carnal/pEL95/7/

why doesn't this function work. I'm using on change event to fill up an element.
I'm trying to insert something in this element
<div id="confirmData"></div>

using a change event fucntion
I think I'm in trouble
One of our clients is Chinese, and they insist on having their production machine under lock and key so we can't touch it
Guess who is the lucky one to explain to them how to install our overly complicated software?
lol
Good luck.
:( yeah
I'm talking to the poor guy now
I'm sure it's worse for him.. he doesn't understand anything I'm saying in english
I can only imagine how stressed out he is about now
@Neil : images are universal
@skywinder Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
07:21
make a comic to show how to install the software ;)
Gm to all
@Neil Is your software so hard to install ?
Explain about fn and prototype with ex..
hi
i want to get div content in backbone .js
@dystroy Yes.
I won't sugar coat it. It's a freakin' nightmare to a lamen to install, and difficult enough as it is for us
07:24
alert($(e.currentTarget).text().($("#appendmsg").html()));
i used this
i amgetting object object
@Neil I know this happens. But automating that should be the first priority... in an ideal world ^^
Our software is the evolution of old old old software written on an IBM machine to a web application (if you can believe that)
@dystroy I've written the installation myself. You can't automate installation parameters which change from installation to installation
@Neil wouldn't it be cheaper for your company to send you over there and install it?
@FlorianMargaine Not sure if it would be cheaper, but I sure as heck don't want to go to China
@Neil you know that's wrong... you can put a pretty interface over everything, that's just a little costly.
07:26
@FlorianMargaine hi
@Neil why? business trips are fun
My colleagues often goes to China or US just to install and configure our software
@dystroy In order for our installation to be simple, we'd have to first have a simpler product
@sabari uh, hi?
@FlorianMargaine do u know fn and prototype
07:27
oh, ok
I thought you were someone nice or something
2
@FlorianMargaine Hey, wanna go to China? :D
@Neil totally. Visiting countries only opens up your mind and makes for great experiences.
@FlorianMargaine I'll let my boss know then.
@FlorianMargaine Business trips are fun when you're young. Now, I hate waiting for hours in airports, then planes, then cars, then hostels...
hostels ? :p
07:34
@Zirak why not Boolean? Bad example :P but underscore has a couple of functions like this iirc like isNull etc
morning morning
@KarelG hotels, sorry
0
Q: Q-promises and error handling

Dominic Bou-SamraI am trying to understand Q Promises and how to handle two different errors thrown from two different then blocks. Here is the function I would like to "Promisfy": router.post('/user', function(req, res) { var user = new User(req.body); User.findOne({ email: req.body.email }, function(error...

@dystroy business trips are ok if only for a day or 2, when they start reaching into the months they get boring and tedious
@dystroy hostels do exist too. Cheaper then hotels, but less luxury ;)
07:39
Going to a remote plant in China usually takes two whole days. Add 2 days for install, formation, and so on, then going back, and you've spent one week
i'm still fairly a new employee to have international projects
but on term, maybe i will go for it
@dystroy And who doesn't want that? NOT ME!!!!
I'm old enough to refuse them. In our company the very young ones are sent. It's still interesting to them.
@dystroy I would happily do one or two a year, and try and extend the stay with leave, so company pays for flights and hotel for 1 week, then the second week i pay for hotel, food, etc, it makes a much cheaper holiday then
And you know... being in a closed computer room with no phone, no internet and people barely speaking English, desperately trying to install a software that obviously isn't compatible with the surprising OS you discovered on site... and you only have a dozen hours left before you must leave... hell, it's no fun...
@DrogoNevets holidays in a remote and polluted China region where nobody speaks English ? I have colleagues who spent their whole time there drinking only beer because of the poor quality of water...
07:45
@dystroy Because when they make the beer, they don't use the same water?
@Neil Beer comes from another location, and is at least germ free
@dystroy remote doesnt bother me, more fun, pollution would, but an internal flight still much much cheaper than international!
@dystroy Well, there's something anyway
If the company is paying for your meals, I see no problem having a beer anyway
Afterall you're doing the company a favor as I see it
@Neil Of course the company pays everything... And as a young guy this was very fun to me too. But for an older rich enough guy who doesn't care for the cost of what he eats and drinks... it's less fun...
@dystroy Maybe I'm mature for my age or maybe it's because i'm a joykill, but it is less fun for me in any case
07:58
"surprising OS" = cracked windows ? :p
morning
I saw the world deveop with javascript :)
develope*
God is a javascript programmer (but he still prefers C++)
I believ
I started writing "I believe God is an asm programmer", but then I wanted to write "I believe I can fly" so much that I gave up.
looking at the world I'd rather say God is a Java programmer and in this spare time he's having fun with TypeScript
I want the insta-dup-close power
@FlorianMargaine After you get it for one tag, you still want it for other tags. It's endless. Where I need it the most is for : so many bad duplicates...
I mostly want it to have at least one golden badge
well, another one than the yearly one.
Fanatic isn't the yearly one
yeah my bad
but anyway, not something everyone has
:P
08:17
I find it interesting those that claim to be able to prove that the universe is a simulation
I'm not saying I believe it, but maybe in a sense, the universe is a simulation because what else would it be?
It's either saying everything or nothing
it's like an axiom in maths ( my opinion )
can some one help me with my angular promise - ive never used them before and I am certain that ive done it wrong
i need it that when i call isTablet, that it waits for the promise to to be fulfilled
@KarelG Axioms are interesting concepts imo
@FlorianMargaine haha.. yea and even more shame I think I was under the first 20'ish people getting the badge
@Neil At least they're constructive, meaning we can use them for doing things. You can't derive anything useful from the axiom that the universe is a simulation
08:24
@Neil yes. Especially the 5 axioms of euclides. A interesting truth concerning some base math principles
Mathematics is supposedly theoretical, however they hinge on these axioms that aren't definitions, they're more like assertions
@ShashankSharma Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Hm... point
@Neil yes, but with proof. But can you prove that two points can be connected by a line ? It's a truth, but you cannot prove it.
@KarelG I think that can be proved
maybe even trivially
A line connects two points, and therefore a line can be drawn to connect any two points
08:34
Sometimes I would like my cv to be less powerful. I didn't vote here because I'm the author of the other answer...
0
Q: node.js passport socket.io - How i can get req.user in socket?

user2682398I use express 4 + passport with sessions. I want to make private messages between users with socket.io Before sending a message from the first user to a second user - I want to verify that the message is really from the first user. To exclude id spoofing in javascript files. Here is client cod...

no ideas on angular promises? :(
@DrogoNevets what's the question?
@Neil then you would be the first in 2000 years ;)
@FlorianMargaine jsfiddle.net/GR8gB
i have that, which im pretty sure is wrong
@KarelG Well, I'm not that confident in myself
08:37
i need for isTablet (and other functions) to wait until the promise is resolved before continuing
indeed you do
@FlorianMargaine any ideas?
@DrogoNevets yeah
but we need more information
@FlorianMargaine shoot
do you want to fetch only once?
08:39
When you use a function as a constructor, is it possible to return null ? I don't have a good idea to work out. If the constructor fails, then the object itself is obsolete
@FlorianMargaine yes
then isTablet will return a mixed type
@KarelG throw an error then. But you should rather use a factory, having constructor failing is bad
I mean
either it's a known value, or it's a promise to be resolved
@FlorianMargaine if its a promise to be resolved, then what happens? ideally i would like it to sit and wait until the promise is resolved
08:41
@dystroy it's intended. If a param doesn't have the required properties, then there is no reason to use the object because it depends of it.
either way, the calling code will have to do: isTablet().then(function() {})
@FlorianMargaine was planning on using it in an if statement
@DrogoNevets you simply can't
the journey changes slightly if its a smart phone (theres another function ive not put into fiddle called isSMartPhone
@dystroy you can
oh, my bad
heard it wrong
anyway
what's the equivalent of return Promise.resolve(val) with angular's $q?
thats the "full" code, it will no doubt change
$q.resolve(val)
What a weird line I had to write..
08:44
it's sitting within a service
if(cr.plugins_.ThreeScene) cr.plugins_["ThreeScene"].prototype.Instance.prototype.testFunc();
@DrogoNevets how do you call it?
@FlorianMargaine myService.isTablet()
injected into my controller
@DrogoNevets surrounding code?
this is magically retService?
@FlorianMargaine I see what your asking
This is legacy from some idiot who didnt know angular
he does
module.service('myService', getServiceFunc());
getServiceFunc returns retService into service call
changing it to work nicely is on my todo list! just no time atm
(IE to have its own module, etc, etc)
08:47
gimme a minute
@DrogoNevets jsfiddle.net/GR8gB/2
wait, there's no cache right now
let me fix that
@Kosmetika Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@Schoening Why ? Closure Compiler ?
08:53
@DrogoNevets there jsfiddle.net/GR8gB/3
i see what you are doing, cheers
not sure if the $q.resolve() are necessary, I don't know angular's $q enough to tell
ill test thenc ome back and ask questions if it works, if thats ok?
btw, our build process takes a little while :P
@FlorianMargaine ok so the first one isnt
@FlorianMargaine however the 2nd one is, but i got the code wrong and not sure what it should be.....d'oh
other than that i think i understand whats going on, so - yay - thanks!
09:08
man, why is localStorage only saving strings ...
t/f doesn't work
@TejaKorlapati Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@KarelG doesn't localstorage stringify everything?
yes, but you get unpredicable results if you use non-string vars
so just JSON.stringify before putting them in?
or use a wrapper
I'm a fan of store
@FlorianMargaine so resolve doesnt appear to return anything, ideas? github.com/angular/angular.js/blob/master/src/ng/q.js#L207
09:13
@DrogoNevets yes, it doesn't return anything, it calls then on the next method
brb got a meeting :(
@FlorianMargaine so in the fiddle you had return $q.resolve(...) what should go there?
thats what im working with atm
@DrogoNevets you could do this to stop worrying: jsfiddle.net/GR8gB/6
heh, the issue is that false is being stored as 'true' in localStorage. wtf
@KarelG how?
probably i've fucked it up
09:21
of course if ("false") is very different from if (false)
@KarelG are parsing them on the way out of LS?
@FlorianMargaine ill give it a whirl
var loggedCheck = localStorage.getItem('DisplayAnswersLogged');
this.logged.checked = loggedCheck === 'true'; <-- cb is always checked
---
localStorage.setItem('DisplayAnswersLogged', this.logged.checked);
@FlorianMargaine still not returning anything on first call
even appending it as string using '' + leads to 'true' ._.
09:30
@DrogoNevets how do you call it?
if(WurflService.fetch().isSmartPhone)
@Leo Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
on first call it returns the promise (with then function, etc)
uhmm... is it a bug ?
localStorage.setItem('DisplayAnswersAnonymous', '3'); <-- even doesn't change to 3
ok ... i should go back to school ...
a fucking typo
I have a Java Model that is marshalled/unmarshall to XML. Hierarchy of like 40 Classes. I want to convert my Java Model to JS, so JS developers can create xml or json. Goal is to have the two similar libraries. Goal is to have a JS library for developers so that they can create an application with my JS lib and send the data to my backend
does it make sense? Or should I just say send me the JSON data and my backend will handle it or return an error if the model is not correct.
09:46
!!s/Java/Bleep/gi
@jAndy I have a Bleep Model that is marshalled/unmarshall to XML. Hierarchy of like 40 Classes. I want to convert my Bleep Model to JS, so JS developers can create xml or json. Goal is to have the two similar libraries. Goal is to have a JS library for developers so that they can create an application with my JS lib and send the data to my backend (source)
I want it to make easy for JS devs to be able to create a JSON/XML Content that is compliant. with the model I expect?
@Vadimo can't you marshal/unmarshel to/from json?
From Java I can
I am afraid the it will be difficult for JS Devs to construct a complex JSON Object
that will be correct for the backend. So the idea was to make it easier for them by providing a Prototype Model in JS
I am not familiar with JS so the question is does it make sense to have a comparable class model (prototype) in JS like in JAVA?
10:03
@Kaschwenk Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@Vadimo I don't see why not
Just keep your model and your functioning object separate
In other words, this.data = {} and all methods use this.data
What you send and receive to the server is this.data so you can easily convert to and from json
ok
thanks, so lets create a JS Model from Java!
anyone knows a library doing that :D
@Vadimo try GWT that no one uses
haha
no
I can imagine the output of the JS
I can try but a doubt it will be readable or event understandable for JS Devs
or any Dev
looks nice
will try it out
At least for getting it going
10:11
I didn't know you meant converting java to js quite so literally
that code sample is more jQuery. (not pure js)
Hi people, please do your part for the community and downvote the suggested jQuery ".each" tag synonym for the general master tag "each", as they are NOT the same. We do NOT want the questions in those tags to merge!!: stackoverflow.com/tags/each/synonyms
!!s/community/humanity/
@jAndy Hi people, please do your part for the humanity and downvote the suggested jQuery ".each" tag synonym for the general master tag "each", as they are NOT the same. We do NOT want the questions in those tags to merge!!: stackoverflow.com/tags/each/… (source)
gosh I love that feature
10:17
@jAndy wow, didn't know you could do that!! Is there a wiki for these type of hidden chat commands?
Although they are not the same tag, however, "each" tag has been blatantly misused for jQuery's ".each" - we could use a cleanup
its not the chat, its the bot: github.com/Zirak/SO-ChatBot/wiki/Commands
@Neil I have to start somewhere
mmmmmmmm oreo cheesecake
@Kalyan Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
10:33
Hey CSS experts here. Did you have a look at this one ?
How would you fix that ?
it looks like words made of some chars (outside the BMP ?) can't be broken...
!!s/./☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠/
@jAndy ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠t looks like words made of some chars (outside the BMP ?) can't be broken... (source)
:P
tsss tss
I don't think it's about words not being broken, in fact.
10:42
@dystroy : word-break won't work
I know it's not enough here
in this situation, use display: inline-block and set width to the max width of these parents (if it has)
td.comment-text {
    display: inline-block;
    width: 60%;
}
works what it should do
!!afk lunch
@KarelG doesn't seem to work (and it breaks other parts)
@dystroy KarelG is afk: lunch
10:58
its now my lunch time, back laters
!!afk lunching!
11:10
@dystroy setting max-width to an absolute value and word-wrap to break-word seems to work for at the first glance, (in chrome and ie). e.g. $("td.comment-text").css({"word-wrap":"break-word","max-width": "0px"});. But i don't know much about css, so this could be horribly wrong
This works and this looks horribly wrong
You should make an answer, I think downvotes don't make you lose rep now, and we would probably be enlightened
11:28
oh sorry I froze you all waiting for the follow-up
hello room
can someone help me with a JS question I posted?
0
Q: BigVideo.js: Background video not showing?

redshiftI download bigvideo.js and tried to implement it as an ambient video background for my sandbox site here but it's just not showing! I've loaded the dependencies as stated by the documentation and placed the function at the bottom, but not sure why the video is not showing. Anyone have any clues? <...

11:44
Did you check that there's no error and that the video is found ?
i posted the video url in the window and it plays
i did get a few errors with the js file though
uh
don't you think those errors might be... significant? meaningful?
define([
'jquery',
'videojs',
'imagesloaded',
'jquery-ui'
], factory);
if videojs isn't found... it can't work...
humm let me check again
:0P
I'd delete this question now, because it's very bad to let people search in the void
11:49
but videojs is there, so why does it say 'not found'?
that's a whole another question
i clicked on the line number in console and it took me to the file
it seems the problem is that it's not seeing the video.js file despite it being on the server and linked correctly, afaik
Delete your question, search for this problem and if you don't find make a new question focused on that precise define problem.
Apparently
i rocked my exam without studying even a minute for it :-o
phew lucky
@AbhishekHingnikar "rocked" like "stoned" ? What's the effect of lapidation on an exam ?
11:55
Like put the external and invigilator on a point they didn't wanted to ask any more questions cause i asnwered all :D
@dystroy OK, thanks
@AbhishekHingnikar Nice
congrats
Are you going to go on studying then ?
They asked me about switches, hubs, ip address, CIDR .. :->
!!/google CIDR
11:56
dunno yet, this semester i will still finish cause i paid for it.
Classless Inter Domain Routing.
So rocked as in "rock this bitch" and not rocked as in "I chose scissors and I got rocked."
Don't chose scissors. Always start with paper.
I tend to stick with the same type multiple times because most people, in their attempt to be random and assuming I'm being random, will presume I'll change after a while
Of course that only works after 3 or so times :P
11:59
o.o
And you should generally avoid lizard/spock because people like to pick the non-classic ones
@user3636439 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
1
Q: bootstrap calendar not displaying on dynamic add input

user3636439I am dynamically adding a group of input on button click var objTo = document.getElementById('list'); var divtest = document.createElement("div"); divtest.innerHTML = '<input type="text" name="list[]"> Assign to:<select name="assign[]"><option>Select Email</option><?php $sel=mysql_query("SELECT...


« first day (1307 days earlier)      last day (3866 days later) »