Thank you. I got some help over on stackoverflow. Similar to what you suggested.
$('#one, #two').blur(function() {
if($('#one').val() !== "" && $('#two').val() !== "") {
...
Type: Posts; User: qwikad.com; Keyword(s):
Thank you. I got some help over on stackoverflow. Similar to what you suggested.
$('#one, #two').blur(function() {
if($('#one').val() !== "" && $('#two').val() !== "") {
...
I know it's easy to do using <button> or <input type="submit" but how would you keep this button disabled unless both input fields are filled?
<input id="one" type="text">
<input id="two"...
I am close to figuring this out. This took care of the issue, but it now places the cursor in front of a new set of tags (ie <b></b>). I need it to be placed between the tags. What needs to be done?...
I am working on a small function and it works fine in all browsers, however, in IE6 thru 8 the tags act funny. For instance if you click on Bold you will have <b></b>, then if you click on Bold the...
No sure why... my wife's laptop and my laptop all add to favorites on all 3 different browsers we have. OK... I think I am going to redo this whole thing using ajax / php / mysql. It's concerning to...
What browser are you using? Try Chrome, later FF, Opera or IE 11.
OK, I am going to demonstrate what I need it for. For instance go to:
http://qwikad.com/0/posts/6-Services/203-Dating-Relationships/
and scroll all the way to the bottom where you see the last...
By the way, I am not talking about how to check checkboxes if they are not visible. I am talking about getting values for the checked checkboxes via the keys in localStorage from anywhere on the site...
I understand it's possible by reading the keys for those values in localStorage. With something like this:
//Get them with this
for (var key in localStorage) { console.log(key + ':' +...
Anyone?
This code works fine using values / loclaStorage to keep checkboxes checked. However, the values are only displayed when the checkboxes are on the page. I understand it's possible to sorta by-pass...
Great, thank you!
I think I am close to where I want to be, but I still need help. How can I uncheck all checkboxes and clear localStorage for those checkboxes at the same time? Right now it unchecks them, but...
Again, very much appreciated. Not the first time you have helped me.
Sorry if I wasn't clear. I want it to convert tags as if it's an HTML page. Currently, it show tags like <b>a</b>. It should show b. (HTML markup that is). Hope this clarifies.
This is the script...
I have this script and I'd really like to show the results as an HTML output. Not sure how to do this myself. I know it can be done with innerHTML. Or maybe there's a better way. Hope you can help....
That's what I was looking for!
I figured out how to show them as an alert, but I would like to list them below the checkboxes:
http://jsfiddle.net/UqrYJ/203/
<input type="checkbox" id="1"> <label>First</label><br>
<input...
Thank you, really appreciate it!
Actually after I posted this I tried title = title.replace(/\; .*/, ''); and it seems to be working fine. Is there a better way of doing this? It's tripping all characters (which I am fine with).
Need to replace ; allcharacters using:
title = title.replace(//g, '');
1. There's a space after ;
2. By allcharacters I mean A-Z a-z 0-9 _
Actually, no, I don't want it to work. I just want it for a preview and it doesn't matter if it works or not.
What would be the easiest way to shorten a URL with preg_replace? Let's say a URL looks like this:
http:/ /someurl.com/file_1/something_else/new/file_2.html
I want to reduce it to let's say 30...
Thanks John. Looks simple when someone else does it. :) Appreciate your help!
I am trying to set up a job search engine using careerjet's API. Everything is working fine except when the careerjet's database doesn't have jobs available for a particular query the error_log...