Hi guys,
I'm wondering if you guys could help me out. I'm trying to grab a list of URLs from each row. Each row contains something like this:
<li>The <a href="https://blahblah.com">Registered Investment Advisor Foreign Account/Anti-Money Laundering Attestation</a> form</li></ul>Once received...
Hey guys,
I have a small problem. I want to pass hidden name 'pid' to a select dropdown box. Any idea on how to do that? This is what I have:
<select name="project" class="select">
$show_project_list
</select>
The $show_project_list basically prints data from a db:
$result =...
Thank you. That was pretty simple than I thought. One small question, what if I want to change 'Post Comments' to 'Hide Box' without adding an additional text? So far, I just add 'Close Button' at the end of the comment box:
[<a href="#"...
Hello,
I'm pretty new to JS and I have this HTML form that has hidden values and I want to display a text click that states, "Post Comments" and the following should display:
<form name="comment_box" method="post" action="/project/post_comments">
<textarea name="comments"...
Hello,
Thanks for the reply. I have added your code and works fine (except on IE 9). Here's what I was trying to do:
http://oi49.tinypic.com/6s4djp.jpg
Basically it just disables if the menu if marked. I just want to make it work on IE9. I also use PHP to reinforce it but still nice to have...
Hello coders,
I have this small javascript code that works fine in chrome/firefox but won't disable the 'select' menu in IE...any suggestion? Thank you in advance.
<label>
Gender<br>
<select name="gender" id="gender" onclick="if (this.checked) document.getElementById('org').disabled=true...
Hello,
Thanks for replying. It does work when I put on the 'fill' part. I don't want the 'pid' to be displayed to the user since I only want the user to select the result. Here's a screenshot of what I have:
http://s8.postimage.org/e3g2bjvz7/ajax.png
So basically I want the 'pid' to be...
Hello coders,
I'm trying to create this ajax live search and I need to pass on 'hidden' input type...
So here's where i'm stuck:
$query = $db->query("SELECT pid, ptitle FROM projects WHERE ptitle LIKE '$queryString%' LIMIT 10");
if($query) {
while ($result = $query...
Hello,
I'm trying to join three tables with mysql and php. So far, I have this:
select username,psummary
FROM subscribers join users_db
ON subscribers.uid = users_db.uid
join projects
ON users_db.uid = projects.uid
AND subscribers.sub_user='1'
When I run the code, it only returns one...
Hello guys,
I'm having another small problem when I add some JS code to the existing php code from above. Basically, when the user clicks on a link, a JS code menu pop ups:
function display_articles() {
$pid=$this->uri->segment(3, 0);
$query = "SELECT title from articles where pid='$pid'"...
vacunita,
Thank you; it works. I come from Perl background and I was looking for ".=" way of assigning it in PHP like you could do in Perl. Thanks again :)
Hello,
I'm trying to retrieve data from mysql to a variable and have it return using a function.
This is what I have so far..any ideas? Thanks in advance.
function display_articles() {
$pid=$this->uri->segment(3, 0);
$query = "SELECT title from articles where pid='$pid'";
$result =...
Hello coders,
I'm trying to get form values from dynamic form (screenshot: http://oi49.tinypic.com/25ox9c3.jpg)
When the user clicks submit, I want to get the textfield value and the value of the checkbox right next to each other like:
Stage1 - 1 (checked)
Stage2 - 0 (unchecked)
So far, I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.