Can search engines such as Google index JavaScript generated web pages? When you right click and select view source in a page that is generated by JavaScript (e.g using GWT) you do not see the dynamically generated HTML. I suppose that if a search engine also cannot see the generated HTML then there is not much to index, right?
Hi,
Im doing a small project in C++ in LINUX PLATFORM.i need to search 10 or more PDF files and find required data.how can i do so?.
i will make my question more clear with following eg
suppose i have ten text books all about c++ and i need info about the topic array and how i can search the pdf and find data?
thanks in advance
I'm looking around for an open source form building package for PHP, and figured the hive-mob-mind of StackOverflow might be able to tilt me in the right direction.
Specifically, I'm looking for a form/survey builder application. I want something that lets an end user use a web based GUI to create and configure/surveys and web-based forms.
What are the de-facto standard tools/packages that people use for this kind of thing these days. I'm interested in software packages, not in hosted services.
I have a windows Xp Sp2 system where the windows explorer search is not able to find the text in xml files.
Is there some setting that enable the search in xml files? It finds in text in text / doc files in the same folder.
I can not get the form to submit with the button. The best luck I have had is to send a generic email with no data attached.
This is the code:
<input name="mailto: [email protected]" type="submit" onClick=mailto: [email protected] value="Submit Form" id="mailto: [email protected]" >
the value is: /frms/contact.con
Can anyone help????
Hi I am new to this forum. I found out how great this site is. but I have questions on how to filter the search like for example, viewing search results of "PCM Format" that tagged with "DELPHI"?
The Lucene documents tell me that "Hits" will be removed from the API in Lucene 3.0.
Deprecated. Hits will be removed in
Lucene 3.0. Use search(Query, Filter,
int) instead.
The proposed overload limits the number of documents returned to the value of the int.
So my question is: what is the recommended way to perform a search in Lucene with no limit on the number of documents to be returned?
Hello,
I have a form that as an action returns a download. The problem is that the page will pop-out the download, and you can save it, but it will not allow another form submit.
i was thinking of doing a page refresh after the submit. But i cant figure out how to do that and not stop the download. Do you have any ideas.
Thanks
Hi all,
I am implementing an eCommerce application using ASP.Net. I would like to know if custom Google search is sufficient enough or if we plan to go implement our search functionality.. how do we go about doing it?
Ideas and Suggestions and best practices are most welcome.
Regards,
Abdel Olakara
how do i add default magento contact form to a static block?
{{block type="core/template" name="contactForm" template="contacts/form.phtml"}}
doesn't seem to work.
thanks
I would like to additional instructions to a custom Drupal form, similar to hook_help, but at the bottom of the form. Is there a function or hook available for this?
If the submit button is clicked, prevent the default action and see if the field 'account_name' is already in use. If the $.get() returns a result, alert the user of the results. If it doesn't, submit form with id="add_account_form".
My problem is that my else{} statement is not submitting the form. I get no response when submit is clicked & there is no value returned.
Also I would like to change my code where it goes $("#add_account_form").submit(..) instead of .click() however, would that cause a problem when trying to submit the form later in the script?
<script type="text/javascript">
$(document).ready( function () {
$("#submit").click( function () {
var account_name = $("input[name=account_name]").val();
$.get(
"'.url::site("ajax/check_account_name").'",
{account_name: account_name},
function(data){
if(data.length > 0){
confirm( "The account name you entered looks like the following:\n"
+data+
"Press cancel if this account already exists or ok to create it."
);
}else{
$("#add_account_form").submit();
}
});
return false;
});
});
</script>
<p>
<input type="submit" id="submit" class="submit small" name="submit" value="Submit" />
</p>
</form>
Thanks for your help.
EDIT
So anyone who runs into my problems, it's that $.get() is asynchronous, so it will always return false, or true depending on what submitForm is defined as. $.ajax() however, allows async to be set as false, which allows the function to finish before moving on. See what I mean:
$(document).ready( function () {
$("#add_account_form").submit( function () {
var submitForm = true;
var account_name = $("input[name=account_name]").val();
$.ajax({
type: "GET",
async: false,
url: "'.url::site("ajax/check_account_name").'",
data: ({account_name: account_name}),
success:
function(data){
if(data.length > 0){
if(!confirm( "The account name you entered looks like the following:\n"
+data+
"Press cancel if this account already exists or ok to create it."
)){
submitForm = false;
}
}
}
});
if (submitForm == false ) {
return false;
}
});
});
Thanks for your help @Dan
I am trying to set up a search feature on my site that will only return exact matches to keyword entered by the user. So if the user searches "dog" I don't want an article titled "Doggy Style" to appear in the search results (just an example I don't really have an article by that name). This of course does exactly that:
SELECT * FROM articles WHERE article_title LIKE '%$searchQuery%'
$searchQuery here is a PHP variable taken from the user's input form. So is there any way to return only exact matches?
i'm trying to figure out what is wrong in this code. it either doesn't highlight the search result OR it outputs html tags surrounding the highlighted text. .
$search_result = "";
$search_result = trim($search_result);
$special_cases = array( '%', '_', '+' );
$search_result = str_replace( $special_cases, '', $_GET["q"] );
//Check if the string is empty
if ($search_result == "") {
echo "<p>Search Error</p><p>Please enter a search...</p>" ;
exit();
}
$result = mysql_query('SELECT cQuotes, vAuthor, cArabic, vReference FROM thquotes WHERE cQuotes LIKE "%' . mysql_real_escape_string($search_result) .'%" ORDER BY idQuotes DESC', $conn)
or die ('Error: '.mysql_error());
//eliminating special characters
function h($s) {
echo htmlspecialchars($s, ENT_QUOTES);
}
function highlightWords($string, $word)
{
$string = str_replace($word, "<span style='background-color: #FFE066;font-weight:bold;'>".$word."</span>", $string);
/*** return the highlighted string ***/
return $string;
}
?>
<div class="caption">Search Results</div>
<div class="center_div">
<table>
<?php while ($row= mysql_fetch_array($result, MYSQL_ASSOC)) {
$cQuote = highlightWords($row['cQuotes'], $search_result);
?>
<tr>
<td style="text-align:right; font-size:15px;"><?php h($row['cArabic']); ?></td>
<td style="font-size:16px;"><?php h($cQuote); ?></td>
<td style="font-size:12px;"><?php h($row['vAuthor']); ?></td>
<td style="font-size:12px; font-style:italic; text-align:right;"><?php h($row['vReference']); ?></td>
</tr>
<?php } ?>
</table>
</div>
on the browser, it is outputted as:
A good <span style='background-color: #FFE066;font-weight:bold;'>action</span> is an ever-remaining store and a pure yield
or if a div is used with class:
A good <div class='highlight'>action</div> is an ever-remaining store and a pure yield
I'm already familiar with how to use onSubmit to evaluate form content against RegEx to ensure it meets static parameters for acceptable content. What I'm wondering is if there is a way to further provide validation against a MySQL database, such as if you want to make sure an e-mail address hasn't been used yet before submitting a form and having to re-load the field data back into the proper places for correction.
I have a form that contains dataGridView, whose coloumn are set to
dgrv1.Width =dgrv1.Columns.GetColumnsWidth(DataGridViewElementStates.Visible)+20;
I want to make the form to automaticaly follow the with of dataGridView...
Also, on maximized, I would like it to grow in height only.
Any sugestions?
Hey,
I want to have the user enter a keyword in my app and then search google for this keyword, perform some logic on the results and display a final conclusion to the user.
Is this possible? How do I perform the search on google from my app? What is the format of the reply? If anybody has some code samples for this, they would be greatly appreciated.
Thanks,
I have a form which submits certain values to third party...
I am using windows.onload(); to submit that form, but as soon as the page is loaded the focus goes to new window... Is there a way to retain focus on my window only...
What do I needto use to get a search listing
using the google maps API? I can get one address
or lat/long but I want to search for say "bars 84070"
andget a list of addresses and lat/long
thanks
Hi,
I am using search display controller and a search bar. When i click inside the serach bar the keyboard appears. When i navigate away to another page , the keyboard does not disappear and stays in the same page. Can you please help me ?
Thanks,
Andy.
I have an ASP.NET page in which there is a textbox. The user enters a string in the textbox and I want that string to be searched in Google and redirect the search results to my web page. I'm using VB as the background programming language.
How can I do that? And also which toolbox control should I use in my page, for displaying the search results?
Hi
I would like to style a form button (input or button tag) with 2 background images to create a stretchable button (relative to the text-length). The form button should also have a hovered state and it should be cross browser (at least IE7 & +) would need to support it.
I know how to obtain the effect with just css with an tag = test
If anyone could help me a little bit, I would be pleased
yours truthfully
Am pretty new to ROR. Need help in Rails form validation.
Hey, am using rails 2.3.5
I have a basic validates_presence_of for the fields in the form.
Now when i don't enter field details, i do get an error, but the error is displayed as:
{{count}} errors prohibited this {{model}} from being saved
There were problems with the following fields:
{{attribute}} {{message}}
{{attribute}} {{message}}
Any help will be highly appreciated.