Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7534019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:53:38+00:00 2026-05-30T05:53:38+00:00

Recently I am working with project a in which i want the value of

  • 0

Recently I am working with project a in which i want the value of #page='+pid+'"
from this embeded code of innerhtml. I have tried with index as position, but dit not get the desired result.
There is pageid value, which I want. I have also tried this:

var aPosition = aURL.indexOf(pid);
var res =aURL.charAt(aPosition)</code>
var aURL=document.getElementById('pdffile').innerHTML='<embed  src="../EyeLegalAdmin/wp-content/plugins/EyeLegalAdmin/Data/<?=$_GET['CaseId']?>/<?=$_GET['file']?>#page='+pid+'" type="application/pdf" height="618px" width="100%" onScroll="yes"  />';`

How can I go about this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:53:39+00:00Added an answer on May 30, 2026 at 5:53 am
    var x = " src=\"../EyeLegalAdmin/wp-content/plugins/EyeLegalAdmi/Data/<?=$_GET['CaseId']?>/<?=$_GET['file']?>#page='S'\"" ;
    
    var arr = x.split("#");
    var firstIndex = arr[1].indexOf("\'");
    //var lastIndex =  arr[1].lastIndexOf("\'");
    var ressult = arr[1].substr(firstIndex+1 , 1 );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently, i am working with jquery for my mini-project. I took a code from
I have been working with a small project recently which involves Struts 2 and
I've recently moved a project I'm working on from .NET 3.5 to .NET 4.
I have joined a project recently and now I'm working on its Internationalization improvement.
I am currently working in a .Net project but from university I have also
Recently we started working with Database project in Visual Studio 2010. I have added
I recently stumbled upon this in a project I'm working on. In package A
I'm recently working on a project in which I need to port a portion
I was recently working on a piece of C++ code for a side project
Having recently begun working on a project which might need (good) scaling possibilities, I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.